Spaces:
Running
Running
Download server/app.py from Penguin0101/IntelliFlow-openenv: direct link, hf CLI and curl.
- Browser
- Download file 231 Bytes
-
https://huggingface.co/spaces/Penguin0101/IntelliFlow-openenv/resolve/main/server/app.py
- Command line
-
hf download hf://spaces/Penguin0101/IntelliFlow-openenv/server/app.py
-
curl -L -o app.py https://huggingface.co/spaces/Penguin0101/IntelliFlow-openenv/resolve/main/server/app.py
231 Bytes
| import sys | |
| import os | |
| sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..')) | |
| from app.api.main import app | |
| import uvicorn | |
| def main(): | |
| uvicorn.run(app, host="0.0.0.0", port=7860) | |
| if __name__ == "__main__": | |
| main() |