RayeRen commited on
Commit
44b70cd
2 Parent(s): ae6acd9 d2be861

Merge branch 'main' into ps

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__':