Spaces:
Running
Running
Delete app.py
Browse files
app.py
DELETED
@@ -1,10 +0,0 @@
|
|
1 |
-
import os
|
2 |
-
from app.main import app
|
3 |
-
import uvicorn
|
4 |
-
|
5 |
-
# Get port from environment variable or default to 7860
|
6 |
-
port = int(os.getenv("PORT", 7860))
|
7 |
-
|
8 |
-
# Run the FastAPI application
|
9 |
-
if __name__ == "__main__":
|
10 |
-
uvicorn.run(app, host="0.0.0.0", port=port)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|