Download server/app.py from OpenEnv-Labs/customer-support-openenv: direct link, hf CLI and curl.
- Browser
- Download file 262 Bytes
-
https://huggingface.co/spaces/OpenEnv-Labs/customer-support-openenv/resolve/main/server/app.py
- Command line
-
hf download hf://spaces/OpenEnv-Labs/customer-support-openenv/server/app.py
-
curl -L -o app.py https://huggingface.co/spaces/OpenEnv-Labs/customer-support-openenv/resolve/main/server/app.py
262 Bytes
| import sys | |
| import os | |
| sys.path.insert(0, os.path.join(os.path.dirname(__file__), "../src")) | |
| import uvicorn | |
| from envs.customer_support_env.server.app import app | |
| def main(): | |
| uvicorn.run(app, host="0.0.0.0", port=7860) | |
| if __name__ == "__main__": | |
| main() |