tonyassi commited on
Commit
171d032
·
verified ·
1 Parent(s): da771fb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -212,7 +212,7 @@ with gr.Blocks(title="Video Face Swap", theme=gr.themes.Soft(), css=CUSTOM_CSS)
212
  inputs=[in_img, in_vid, in_gen],
213
  outputs=[out_vid],
214
  fn=generate, # precompute + cache example output
215
- cache_examples=True, # store the result on build so it loads instantly
216
  run_on_click=True, # clicking the example triggers generate()
217
  label="Try an example"
218
  )
 
212
  inputs=[in_img, in_vid, in_gen],
213
  outputs=[out_vid],
214
  fn=generate, # precompute + cache example output
215
+ cache_examples=False, # store the result on build so it loads instantly
216
  run_on_click=True, # clicking the example triggers generate()
217
  label="Try an example"
218
  )