Tonic commited on
Commit
c4dce61
·
verified ·
1 Parent(s): 355d056

Solves 500 error for some users

Browse files

![image.png](https://cdn-uploads.huggingface.co/production/uploads/62a3bb1cd0d8c2c2169f0b88/AUEH7IGsXPY5bmwFkpvHW.png)

with no performance loss

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -642,7 +642,7 @@ def main():
642
 
643
  # Create and launch the UI
644
  demo = create_ui()
645
- demo.launch(server_name=args.host, server_port=args.port)
646
 
647
 
648
  if __name__ == "__main__":
 
642
 
643
  # Create and launch the UI
644
  demo = create_ui()
645
+ demo.launch(server_name=args.host, server_port=args.port, ssr_mode=False)
646
 
647
 
648
  if __name__ == "__main__":