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