working prototype

This commit is contained in:
Aron Petau 2025-09-17 16:35:11 +02:00
parent 4f2723b767
commit 1a4abe978f
21 changed files with 706 additions and 145 deletions

15
run_app.py Normal file
View file

@ -0,0 +1,15 @@
# run_app.py
import os
import uvicorn
# Ensure upload folder exists
UPLOAD_FOLDER = "data/uploads"
os.makedirs(UPLOAD_FOLDER, exist_ok=True)
if __name__ == "__main__":
uvicorn.run(
"main:app", # module_name:app_instance
host="0.0.0.0", # accessible on all interfaces
port=8000,
reload=True, # enables auto-reload on code changes
)