| [app] | |
| name = "tinyship-hf-live-demo" | |
| root = "." | |
| kind = "web" | |
| runtime = "python" | |
| framework = "fastapi" | |
| start = "uvicorn main:app --host 0.0.0.0 --port ${PORT}" | |
| health = "/health" | |
| port = 7860 | |
| [deploy] | |
| primary = "huggingface" | |
| verify_local = true | |
| [providers.huggingface] | |
| repo = "hetanshwaghela/tinyship-fastapi-demo-live" | |
| visibility = "public" | |
| sdk = "docker" | |
| app_port = 7860 | |
| [env.public] | |
| APP_ENV = "production" | |
| [env.secret] | |
| [build] | |
| strategy = "docker" | |
| base = "auto" | |
| optimize = true | |