Spaces:
Runtime error
Runtime error
Download run.py from SemantIQ/llm-dictionary: direct link, hf CLI and curl.
- Browser
- Download file 303 Bytes
-
https://huggingface.co/spaces/SemantIQ/llm-dictionary/resolve/main/run.py
- Command line
-
hf download hf://spaces/SemantIQ/llm-dictionary/run.py
-
curl -L -o run.py https://huggingface.co/spaces/SemantIQ/llm-dictionary/resolve/main/run.py
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) | |