Spaces:
Sleeping
Sleeping
Download server.py from hackathonig/mail_triage: direct link, hf CLI and curl.
- Browser
- Download file 283 Bytes
-
https://huggingface.co/spaces/hackathonig/mail_triage/resolve/refs%2Fpr%2F9/server.py
- Command line
-
hf download hf://spaces/hackathonig/mail_triage@refs/pr/9/server.py
-
curl -L -o server.py https://huggingface.co/spaces/hackathonig/mail_triage/resolve/refs%2Fpr%2F9/server.py
283 Bytes
| import uvicorn | |
| from env import app | |
| def main(): | |
| """ | |
| Main entry point for the OpenEnv server. | |
| This function satisfies the requirement for a 'main' function reference. | |
| """ | |
| uvicorn.run(app, host="0.0.0.0", port=8000) | |
| if __name__ == "__main__": | |
| main() |