“pangjh3” commited on
Commit
4b6edc2
·
1 Parent(s): 76addcc

modified: app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -437,4 +437,5 @@ To prevent spam and ensure evaluation quality, we enforce:
437
  # Launch the app
438
  if __name__ == "__main__":
439
  # Enable HuggingFace OAuth authentication
440
- demo.launch(debug=True, auth="huggingface")
 
 
437
  # Launch the app
438
  if __name__ == "__main__":
439
  # Enable HuggingFace OAuth authentication
440
+ # Disable SSR mode to fix i18n locale error with OAuth
441
+ demo.launch(ssr_mode=False, auth="huggingface")