Spaces:
Sleeping
Sleeping
Lazar Radojevic
commited on
Commit
·
c1a2001
1
Parent(s):
a787cc6
work
Browse files
README.md
CHANGED
@@ -6,6 +6,7 @@ colorTo: green
|
|
6 |
sdk: docker
|
7 |
pinned: false
|
8 |
license: apache-2.0
|
|
|
9 |
---
|
10 |
|
11 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
6 |
sdk: docker
|
7 |
pinned: false
|
8 |
license: apache-2.0
|
9 |
+
app_file: app.py
|
10 |
---
|
11 |
|
12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
run.py
CHANGED
@@ -3,5 +3,5 @@ import uvicorn
|
|
3 |
# import subprocess
|
4 |
|
5 |
if __name__ == "__main__":
|
6 |
-
uvicorn.run("main:app", host="0.0.0.0", port=
|
7 |
# subprocess.run(["streamlit", "run", "app.py", "--server.port", "7860"])
|
|
|
3 |
# import subprocess
|
4 |
|
5 |
if __name__ == "__main__":
|
6 |
+
uvicorn.run("main:app", host="0.0.0.0", port=7860, reload=True)
|
7 |
# subprocess.run(["streamlit", "run", "app.py", "--server.port", "7860"])
|