Spaces:
Runtime error
Runtime error
Fix module import error by adding __init__.py files and updating Docker setup
Browse files- app.py +0 -7
- app/__init__.py +0 -0
- app/core/__init__.py +0 -0
- app/schemas/__init__.py +0 -0
- app/services/__init__.py +0 -0
- app/tasks/__init__.py +0 -0
app.py
DELETED
@@ -1,7 +0,0 @@
|
|
1 |
-
from app.main import app
|
2 |
-
|
3 |
-
# This file is needed for Hugging Face Spaces to find the app
|
4 |
-
|
5 |
-
if __name__ == "__main__":
|
6 |
-
import uvicorn
|
7 |
-
uvicorn.run("app:app", host="0.0.0.0", port=7860, reload=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/__init__.py
ADDED
File without changes
|
app/core/__init__.py
ADDED
File without changes
|
app/schemas/__init__.py
ADDED
File without changes
|
app/services/__init__.py
ADDED
File without changes
|
app/tasks/__init__.py
ADDED
File without changes
|