Spaces:
Running
Running
Commit ·
a97ca44
1
Parent(s): dcbd287
Temporarily removing auth
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 |
-
if no_auth:
|
| 233 |
-
|
| 234 |
-
else:
|
| 235 |
-
uvicorn.run(app, host="0.0.0.0", port=7860)
|
|
|
|
| 229 |
if __name__ == "__main__":
|
| 230 |
import uvicorn
|
| 231 |
|
| 232 |
+
# if no_auth:
|
| 233 |
+
demo.launch(favicon_path="favicon.ico", server_name="localhost", share=True)
|
| 234 |
+
# else:
|
| 235 |
+
# uvicorn.run(app, host="0.0.0.0", port=7860)
|