Skip to content

Commit

Permalink
fix: image create prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
zhayujie committed Oct 13, 2023
1 parent 572932d commit 4b27de8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions config-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@
"ChatGPT测试群"
],
"image_create_prefix": [
"",
"",
""
""
],
"speech_recognition": false,
"group_speech_recognition": false,
Expand Down
2 changes: 1 addition & 1 deletion plugins/linkai/midjourney.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class TaskMode(Enum):


class MJTask:
def __init__(self, id, user_id: str, task_type: TaskType, raw_prompt=None, expires: int = 60 * 30,
def __init__(self, id, user_id: str, task_type: TaskType, raw_prompt=None, expires: int = 60 * 6,
status=Status.PENDING):
self.id = id
self.user_id = user_id
Expand Down

0 comments on commit 4b27de8

Please sign in to comment.