Spaces:
Sleeping
Sleeping
“pangjh3”
commited on
Commit
·
4b6edc2
1
Parent(s):
76addcc
modified: app.py
Browse files
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 |
-
|
|
|
|
|
|
| 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")
|