rogerxavier
commited on
Commit
•
c5eb27e
1
Parent(s):
5b2fc35
Rename app.py to server.py
Browse files- app.py → server.py +1 -1
app.py → server.py
RENAMED
@@ -4,4 +4,4 @@ import uvicorn
|
|
4 |
|
5 |
|
6 |
if __name__ == "__main__":
|
7 |
-
uvicorn.run("
|
|
|
4 |
|
5 |
|
6 |
if __name__ == "__main__":
|
7 |
+
uvicorn.run("server:app", host="0.0.0.0", port=int(os.environ.get('PORT', 7860)), reload=True)
|