Spaces:
Running
Running
Commit
·
c79633e
1
Parent(s):
2c62242
Enabling authentication again
Browse files
app.py
CHANGED
@@ -229,7 +229,7 @@ app = gr.mount_gradio_app(app, demo, path="/hashiru", auth_dependency=get_user)
|
|
229 |
if __name__ == "__main__":
|
230 |
import uvicorn
|
231 |
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
|
|
229 |
if __name__ == "__main__":
|
230 |
import uvicorn
|
231 |
|
232 |
+
if no_auth:
|
233 |
+
demo.launch(favicon_path="favicon.ico")
|
234 |
+
else:
|
235 |
+
uvicorn.run(app, port=7860)
|