Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -68,8 +68,8 @@ async def infer_single_gradio(client, prompt):
|
|
68 |
return None # Return nothing if an error occurs
|
69 |
|
70 |
async def infer_gradio(prompt: str, output_images: gr.Gallery):
|
71 |
-
# Clear previous images from the gallery
|
72 |
-
output_images.update([])
|
73 |
|
74 |
# Record the start time
|
75 |
start_time = time.time()
|
|
|
68 |
return None # Return nothing if an error occurs
|
69 |
|
70 |
async def infer_gradio(prompt: str, output_images: gr.Gallery):
|
71 |
+
#can't work Clear previous images from the gallery
|
72 |
+
#output_images.update([])
|
73 |
|
74 |
# Record the start time
|
75 |
start_time = time.time()
|