RayeRen commited on
Commit
d2be861
1 Parent(s): 3f0e338

update gradio infer

Browse files
Files changed (1) hide show
  1. inference/tts/gradio/infer.py +3 -3
inference/tts/gradio/infer.py CHANGED
@@ -58,9 +58,9 @@ class GradioInfer:
58
  title=self.title,
59
  description=self.description,
60
  article=self.article,
61
- examples=example_inputs)
62
-
63
- iface.launch(share=True)
64
 
65
 
66
  if __name__ == '__main__':
 
58
  title=self.title,
59
  description=self.description,
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__':