haohsiang commited on
Commit
120ce05
Β·
1 Parent(s): f5bae7f

remove duration

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(duration=50)
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 # ε¦‚ζžœεœ–η‰‡ε·²η”ŸζˆοΌŒη›΄ζŽ₯θΏ”ε›ž