mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-07-20 13:47:15 +08:00
fix: image create prefix
This commit is contained in:
@@ -20,9 +20,7 @@
|
|||||||
"ChatGPT测试群"
|
"ChatGPT测试群"
|
||||||
],
|
],
|
||||||
"image_create_prefix": [
|
"image_create_prefix": [
|
||||||
"画",
|
"画"
|
||||||
"看",
|
|
||||||
"找"
|
|
||||||
],
|
],
|
||||||
"speech_recognition": false,
|
"speech_recognition": false,
|
||||||
"group_speech_recognition": false,
|
"group_speech_recognition": false,
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ task_name_mapping = {
|
|||||||
|
|
||||||
|
|
||||||
class MJTask:
|
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):
|
status=Status.PENDING):
|
||||||
self.id = id
|
self.id = id
|
||||||
self.user_id = user_id
|
self.user_id = user_id
|
||||||
|
|||||||
Reference in New Issue
Block a user