lvvignesh2122 commited on
Commit
4b7bc58
·
1 Parent(s): 17544c9

Configure for Hugging Face Spaces: Port 7860 and SDK: Docker

Browse files
Files changed (2) hide show
  1. Dockerfile +3 -2
  2. README.md +9 -0
Dockerfile CHANGED
@@ -15,7 +15,8 @@ RUN pip install --no-cache-dir -r requirements.txt
15
  COPY . .
16
 
17
  # Expose port
18
- EXPOSE 8000
 
19
 
20
  # Run with uvicorn
21
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
 
15
  COPY . .
16
 
17
  # Expose port
18
+ # Expose port (Must be 7860 for Hugging Face Spaces)
19
+ EXPOSE 7860
20
 
21
  # Run with uvicorn
22
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
README.md CHANGED
@@ -1,3 +1,12 @@
 
 
 
 
 
 
 
 
 
1
  # 🧠 Agentic RAG System
2
 
3
  > **High Distinction Project**: An advanced "Agentic" Retrieval-Augmented Generation system that uses Graph Theory (LangGraph), Structural Retrieval (SQL), and Self-Correction to answer complex queries.
 
1
+ ---
2
+ title: Gemini Rag Fastapi Pro
3
+ emoji: 🧠
4
+ colorFrom: blue
5
+ colorTo: indigo
6
+ sdk: docker
7
+ pinned: false
8
+ ---
9
+
10
  # 🧠 Agentic RAG System
11
 
12
  > **High Distinction Project**: An advanced "Agentic" Retrieval-Augmented Generation system that uses Graph Theory (LangGraph), Structural Retrieval (SQL), and Self-Correction to answer complex queries.