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

modified: app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -436,6 +436,6 @@ To prevent spam and ensure evaluation quality, we enforce:
436
 
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")
 
436
 
437
  # Launch the app
438
  if __name__ == "__main__":
439
+ # Disable SSR mode for better OAuth compatibility
440
+ # Note: OAuth is handled internally via gr.LoginButton, not at launch level
441
+ demo.launch(ssr_mode=False)