Update app.py
Browse files
app.py
CHANGED
|
@@ -251,6 +251,7 @@ try:
|
|
| 251 |
inputs=["file", view_selector],
|
| 252 |
outputs=[gr.Gallery(label="Click an Image, and use Arrow Keys to scroll slices", columns=3, height=450), output_text],
|
| 253 |
examples=examples,
|
|
|
|
| 254 |
allow_flagging='never')
|
| 255 |
|
| 256 |
print("✅ Gradio interface initialized successfully")
|
|
|
|
| 251 |
inputs=["file", view_selector],
|
| 252 |
outputs=[gr.Gallery(label="Click an Image, and use Arrow Keys to scroll slices", columns=3, height=450), output_text],
|
| 253 |
examples=examples,
|
| 254 |
+
cache_examples=False, # ADD THIS PARAMETER
|
| 255 |
allow_flagging='never')
|
| 256 |
|
| 257 |
print("✅ Gradio interface initialized successfully")
|