llm-dictionary / run.py
SemantIQ's picture
Upload run.py with huggingface_hub
0612376 verified
Raw History Blame Contribute Delete
303 Bytes
import os
import sys
# Ensure we're in the correct directory
os.chdir(os.path.dirname(os.path.abspath(__file__)))
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
import uvicorn
if __name__ == "__main__":
uvicorn.run("main:app", host="127.0.0.1", port=8000, reload=True)