Spaces:
Sleeping
Sleeping
Download app.py from esthermariamh/GraphQL: direct link, hf CLI and curl.
- Browser
- Download file 175 Bytes
-
https://huggingface.co/spaces/esthermariamh/GraphQL/resolve/main/app.py
- Command line
-
hf download hf://spaces/esthermariamh/GraphQL/app.py
-
curl -L -o app.py https://huggingface.co/spaces/esthermariamh/GraphQL/resolve/main/app.py
175 Bytes
| from strawberry.asgi import GraphQL | |
| from schema import schema | |
| import uvicorn | |
| app = GraphQL(schema) | |
| if __name__ == '__main__': | |
| uvicorn.run(app, host='0.0.0.0', port=7860) |