Spaces:
Sleeping
Sleeping
fix: added ssr_mode=False to fix login
Browse filesAuth is not working on HF spaces, trying a few fixes found online.
app.py
CHANGED
|
@@ -122,4 +122,4 @@ demo = gr.Interface(
|
|
| 122 |
description=INSTRUCTIONS
|
| 123 |
)
|
| 124 |
|
| 125 |
-
demo.launch(share=True, auth=(os.getenv('APP_USERNAME'), os.getenv('APP_PASSWORD')))
|
|
|
|
| 122 |
description=INSTRUCTIONS
|
| 123 |
)
|
| 124 |
|
| 125 |
+
demo.launch(share=True, auth=(os.getenv('APP_USERNAME'), os.getenv('APP_PASSWORD')), ssr_mode=False)
|