mlstocks / backend /main.py
github-actions[bot]
Deploy to Hugging Face Space
abf702c
raw
history blame contribute delete
268 Bytes
import uvicorn
import os
import sys
# Add the current directory to sys.path so 'app' can be found
sys.path.append(os.path.dirname(os.path.abspath(__file__)))
if __name__ == "__main__":
uvicorn.run("app.main:app", host="0.0.0.0", port=8000, reload=True)