fixes 500 error for some users

#38
by Tonic - opened
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -452,4 +452,4 @@ if __name__ == "__main__":
452
  # Note: If testing locally, you'll need to run `huggingface-cli login` or set HF_TOKEN
453
  # environment variable for the login to work locally.
454
  demo.queue() # Enable queuing for async operations
455
- demo.launch()
 
452
  # Note: If testing locally, you'll need to run `huggingface-cli login` or set HF_TOKEN
453
  # environment variable for the login to work locally.
454
  demo.queue() # Enable queuing for async operations
455
+ demo.launch(ssr_mode=False)