frankleeeee commited on
Commit
e417f74
1 Parent(s): 86cedd4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -646,7 +646,7 @@ def main():
646
  random_prompt_btn.click(fn=generate_random_prompt, outputs=prompt_text)
647
 
648
  # launch
649
- demo.launch(server_port=args.port, server_name=args.host, share=args.share)
650
 
651
 
652
  if __name__ == "__main__":
 
646
  random_prompt_btn.click(fn=generate_random_prompt, outputs=prompt_text)
647
 
648
  # launch
649
+ demo.launch(server_port=args.port, server_name=args.host, share=args.share, max_threads=1)
650
 
651
 
652
  if __name__ == "__main__":