Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
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 |
|