Spaces:
Runtime error
Runtime error
update GPU duration = 30
Browse files
app.py
CHANGED
@@ -107,7 +107,7 @@ def translate_to_english(text):
|
|
107 |
|
108 |
return chat_reply.choices[0].message.content
|
109 |
|
110 |
-
@spaces.GPU(duration=
|
111 |
def generate_images(history, conversation_times, last_genimg_times, generated_images):
|
112 |
if generated_images is not None and last_genimg_times == conversation_times:
|
113 |
return conversation_times, last_genimg_times, *generated_images # ε¦ζεηε·²ηζοΌη΄ζ₯θΏε
|
|
|
107 |
|
108 |
return chat_reply.choices[0].message.content
|
109 |
|
110 |
+
@spaces.GPU(duration=30)
|
111 |
def generate_images(history, conversation_times, last_genimg_times, generated_images):
|
112 |
if generated_images is not None and last_genimg_times == conversation_times:
|
113 |
return conversation_times, last_genimg_times, *generated_images # ε¦ζεηε·²ηζοΌη΄ζ₯θΏε
|