wcy1122 commited on
Commit
40d1339
1 Parent(s): 6b52874

update code

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -259,7 +259,7 @@ with gr.Blocks(title='Mini-Gemini') as demo:
259
  ["./minigemini/serve/examples/woolen.png", "Show me one idea of what I could make with this?"],
260
  ["./minigemini/serve/examples/extreme_ironing.jpg", "What is unusual about this image?"],
261
  ["./minigemini/serve/examples/waterview.jpg", "What are the things I should be cautious about when I visit here?"],
262
- ], inputs=[imagebox, textbox], outputs=[])
263
 
264
  with gr.Accordion("Function", open=True) as parameter_row:
265
  gen_image = gr.Radio(choices=['Yes', 'No'], value='No', interactive=True, label="Generate Image")
 
259
  ["./minigemini/serve/examples/woolen.png", "Show me one idea of what I could make with this?"],
260
  ["./minigemini/serve/examples/extreme_ironing.jpg", "What is unusual about this image?"],
261
  ["./minigemini/serve/examples/waterview.jpg", "What are the things I should be cautious about when I visit here?"],
262
+ ], inputs=[imagebox, textbox], cache_examples=False)
263
 
264
  with gr.Accordion("Function", open=True) as parameter_row:
265
  gen_image = gr.Radio(choices=['Yes', 'No'], value='No', interactive=True, label="Generate Image")