linhcuem commited on
Commit
05f5ea4
·
1 Parent(s): dfa8781

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -138,7 +138,7 @@ interface_image = gr.Interface(
138
  outputs=[gr.Image(type="pil"),gr.Textbox(show_label=False)],
139
  title=title,
140
  examples=image_path,
141
- cache_examples=True if examples else False,
142
 
143
  )
144
 
 
138
  outputs=[gr.Image(type="pil"),gr.Textbox(show_label=False)],
139
  title=title,
140
  examples=image_path,
141
+ cache_examples=True if image_path else False,
142
 
143
  )
144