AnwenHu commited on
Commit
334e61c
1 Parent(s): a910499

Update app.py

Browse files

set cache_examples as false

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -292,7 +292,7 @@ def build_demo(embed_mode):
292
  [f"{cur_dir}/examples/multi_col_60204.png", "Convert the illustration into Markdown language."],
293
  [f"{cur_dir}/examples/Rebecca_(1939_poster)_Small.jpeg", "What is the name of the movie in the poster? Provide detailed explanation."],
294
  [f"{cur_dir}/examples/extreme_ironing.jpg", "What is unusual about this image? Provide detailed explanation."],
295
- ], inputs=[imagebox, textbox])
296
 
297
  with gr.Accordion("Parameters", open=True) as parameter_row:
298
  temperature = gr.Slider(minimum=0.0, maximum=1.0, value=1.0, step=0.1, interactive=True, label="Temperature",)
 
292
  [f"{cur_dir}/examples/multi_col_60204.png", "Convert the illustration into Markdown language."],
293
  [f"{cur_dir}/examples/Rebecca_(1939_poster)_Small.jpeg", "What is the name of the movie in the poster? Provide detailed explanation."],
294
  [f"{cur_dir}/examples/extreme_ironing.jpg", "What is unusual about this image? Provide detailed explanation."],
295
+ ], inputs=[imagebox, textbox], cache_examples=False)
296
 
297
  with gr.Accordion("Parameters", open=True) as parameter_row:
298
  temperature = gr.Slider(minimum=0.0, maximum=1.0, value=1.0, step=0.1, interactive=True, label="Temperature",)