File size: 720 Bytes
e9ea2d4
 
 
 
 
 
 
 
5601c60
 
e9ea2d4
 
5601c60
 
 
 
 
 
 
 
 
 
e9ea2d4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
---
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