Junfeng5 commited on
Commit
72f01d9
·
verified ·
1 Parent(s): f4b8d4f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -153,7 +153,7 @@ def show_gallery(images):
153
  gallery = gr.Gallery(images, label="Gallery", columns=4, height="auto",preview=True,scale=0.05) # 设置两行两列的布局
154
  return gallery
155
 
156
- @spaces.GPU
157
  def bot_streaming_T2I(message, history,guidance_scale, temperature, top_K, top_P):
158
 
159
  global stop_flag
 
153
  gallery = gr.Gallery(images, label="Gallery", columns=4, height="auto",preview=True,scale=0.05) # 设置两行两列的布局
154
  return gallery
155
 
156
+ @spaces.GPU(duration=120)
157
  def bot_streaming_T2I(message, history,guidance_scale, temperature, top_K, top_P):
158
 
159
  global stop_flag