Spaces:
Sleeping
Sleeping
Download app/main.py from Prerna43/Shopify_AI: direct link, hf CLI and curl.
- Browser
- Download file 414 Bytes
-
https://huggingface.co/spaces/Prerna43/Shopify_AI/resolve/main/app/main.py
- Command line
-
hf download hf://spaces/Prerna43/Shopify_AI/app/main.py
-
curl -L -o main.py https://huggingface.co/spaces/Prerna43/Shopify_AI/resolve/main/app/main.py
414 Bytes
| from fastapi import FastAPI | |
| from app.api.routes import router | |
| from app.utils.config import get_settings | |
| def create_app() -> FastAPI: | |
| settings = get_settings() | |
| app = FastAPI( | |
| title=settings.app_name, | |
| version="0.1.0", | |
| description="Agentic Shopify customer support prototype with policy RAG and escalation.", | |
| ) | |
| app.include_router(router) | |
| return app | |
| app = create_app() | |