Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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
|