PY_LLM_NEW / README.md
dharmendra
Initial Docker Space setup with direct build
5601c60
---
title: PY LLM NEW
emoji: πŸš€
colorFrom: blue
colorTo: yellow
sdk: docker
pinned: false
short_description: new Gen AI using open LLM
app_port: 7860 # This MUST match the port your FastAPI app listens on inside the container
hf_token_secret: HUGGINGFACEHUB_API_TOKEN
---
# PY LLM DEMO (Direct Build)
This Hugging Face Space hosts a FastAPI application serving a Qwen language model.
The Docker image is built directly on Hugging Face Spaces from the provided Dockerfile.
## API Endpoint Usage:
To interact with the API, send a POST request with a JSON body with a "question" field to the `/api/generate` endpoint.
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference