Update
Browse files
app.py
CHANGED
@@ -194,7 +194,7 @@ with gr.Blocks(css='style.css') as demo:
|
|
194 |
],
|
195 |
outputs=result,
|
196 |
fn=pipe.run,
|
197 |
-
cache_examples=
|
198 |
|
199 |
model_id.change(fn=app.load_model_info,
|
200 |
inputs=model_id,
|
|
|
194 |
],
|
195 |
outputs=result,
|
196 |
fn=pipe.run,
|
197 |
+
cache_examples=os.getenv('SYSTEM') == 'spaces')
|
198 |
|
199 |
model_id.change(fn=app.load_model_info,
|
200 |
inputs=model_id,
|