akhaliq HF staff commited on
Commit
b16f517
1 Parent(s): 2c44986

remove cache_examples from launch

Browse files

removed cache_examples from launch, true by default on huggingface, see: https://gradio.app/docs/

Files changed (1) hide show
  1. inference/gradio/infer.py +1 -1
inference/gradio/infer.py CHANGED
@@ -60,7 +60,7 @@ class GradioInfer:
60
  article=self.article,
61
  examples=example_inputs,
62
  enable_queue=True)
63
- iface.launch(share=True,cache_examples=True)
64
 
65
 
66
  if __name__ == '__main__':
 
60
  article=self.article,
61
  examples=example_inputs,
62
  enable_queue=True)
63
+ iface.launch()
64
 
65
 
66
  if __name__ == '__main__':