Spaces:
Paused
Paused
Download run_server.py from Ribakoo/Image-Enhancer: direct link, hf CLI and curl.
- Browser
- Download file 408 Bytes
-
https://huggingface.co/spaces/Ribakoo/Image-Enhancer/resolve/main/run_server.py
- Command line
-
hf download hf://spaces/Ribakoo/Image-Enhancer/run_server.py
-
curl -L -o run_server.py https://huggingface.co/spaces/Ribakoo/Image-Enhancer/resolve/main/run_server.py
408 Bytes
| """ | |
| Local Launcher for VectorForge | |
| Runs on http://localhost:7860 | |
| """ | |
| import sys | |
| import uvicorn | |
| if __name__ == "__main__": | |
| print("=" * 60) | |
| print(" VectorForge - 2D Character Super-Resolution & Vectorization") | |
| print(" Web UI: http://localhost:7860") | |
| print(" API Docs: http://localhost:7860/docs") | |
| print("=" * 60) | |
| uvicorn.run("app.main:app", host="0.0.0.0", port=7860, reload=True) | |