ulysses115 commited on
Commit
adaad9d
1 Parent(s): b7f3796

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -105,7 +105,7 @@ download_audio_js = """
105
  if __name__ == '__main__':
106
  parser = argparse.ArgumentParser()
107
  parser.add_argument('--device', type=str, default='cpu')
108
- parser.add_argument("--share", action="store_true", default=True, help="share gradio app")
109
  args = parser.parse_args()
110
 
111
  device = torch.device(args.device)
@@ -188,4 +188,4 @@ if __name__ == '__main__':
188
  window.scrollTo(x, y);
189
  return [];
190
  }}""")
191
- app.queue(concurrency_count=1).launch(show_api=True, share=args.share)
 
105
  if __name__ == '__main__':
106
  parser = argparse.ArgumentParser()
107
  parser.add_argument('--device', type=str, default='cpu')
108
+ parser.add_argument("--share", action="store_true", default=False, help="share gradio app")
109
  args = parser.parse_args()
110
 
111
  device = torch.device(args.device)
 
188
  window.scrollTo(x, y);
189
  return [];
190
  }}""")
191
+ app.queue(concurrency_count=3).launch(show_api=True, share=args.share)