hsuwill000 commited on
Commit
fbed3be
·
verified ·
1 Parent(s): 06513b0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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()