DaJulster commited on
Commit
d8a9300
·
1 Parent(s): 3c7472d

Update README with Space configuration

Browse files
Files changed (1) hide show
  1. README.md +12 -5
README.md CHANGED
@@ -1,3 +1,13 @@
 
 
 
 
 
 
 
 
 
 
1
  # RAG API with Hugging Face Spaces
2
 
3
  This is a RAG (Retrieval-Augmented Generation) API deployed on Hugging Face Spaces.
@@ -5,7 +15,7 @@ This is a RAG (Retrieval-Augmented Generation) API deployed on Hugging Face Spac
5
  ## API Endpoints
6
 
7
  ### Query Endpoint
8
- - URL: `https://[your-space-name].hf.space/api/query`
9
  - Method: `POST`
10
  - Body:
11
  ```json
@@ -18,7 +28,4 @@ This is a RAG (Retrieval-Augmented Generation) API deployed on Hugging Face Spac
18
  1. Clone this repository
19
  2. Install dependencies: `pip install -r requirements_hf.txt`
20
  3. Set up environment variables in `.env`
21
- 4. Run: `python app_hf.py`
22
-
23
- ## Deployment
24
- This application is deployed on Hugging Face Spaces.
 
1
+ ---
2
+ title: JulienSerbanescu RAG
3
+ emoji: 🤖
4
+ colorFrom: blue
5
+ colorTo: purple
6
+ sdk: docker
7
+ app_file: app_hf.py
8
+ pinned: false
9
+ ---
10
+
11
  # RAG API with Hugging Face Spaces
12
 
13
  This is a RAG (Retrieval-Augmented Generation) API deployed on Hugging Face Spaces.
 
15
  ## API Endpoints
16
 
17
  ### Query Endpoint
18
+ - URL: `https://julienserbanescu-rag.hf.space/api/query`
19
  - Method: `POST`
20
  - Body:
21
  ```json
 
28
  1. Clone this repository
29
  2. Install dependencies: `pip install -r requirements_hf.txt`
30
  3. Set up environment variables in `.env`
31
+ 4. Run: `python app_hf.py`