working prototype
This commit is contained in:
parent
4f2723b767
commit
1a4abe978f
21 changed files with 706 additions and 145 deletions
15
run_app.py
Normal file
15
run_app.py
Normal 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
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue