hysts HF staff commited on
Commit
72b4cee
1 Parent(s): 5561069
Files changed (1) hide show
  1. app.py +1 -1
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=True)
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,