Spaces:
Sleeping
Sleeping
Download server.py from AKGW580/NEWHACKTHONSPACE: direct link, hf CLI and curl.
- Browser
- Download file 258 Bytes
-
https://huggingface.co/spaces/AKGW580/NEWHACKTHONSPACE/resolve/main/server.py
- Command line
-
hf download hf://spaces/AKGW580/NEWHACKTHONSPACE/server.py
-
curl -L -o server.py https://huggingface.co/spaces/AKGW580/NEWHACKTHONSPACE/resolve/main/server.py
258 Bytes
| """ | |
| Compatibility wrapper for local runs. | |
| The OpenEnv validator expects the FastAPI app in server/app.py. | |
| This wrapper keeps existing commands like `uvicorn server:app` working. | |
| """ | |
| from server.app import app, main | |
| if __name__ == "__main__": | |
| main() | |