dineshb commited on
Commit
087e90e
Β·
verified Β·
1 Parent(s): 6cef052

Upload 3 files

Browse files
Files changed (3) hide show
  1. README.md +2 -1
  2. requirements.txt +1 -3
  3. runtime.txt +1 -0
README.md CHANGED
@@ -117,7 +117,7 @@ streamlit run app.py
117
 
118
  1. Create a new Hugging Face Space.
119
  2. Choose Streamlit as the Space SDK.
120
- 3. Upload `app.py`, `README.md`, `requirements.txt`, `Dockerfile`, `.gitattributes`, and the `assets/` folder.
121
  4. Add `GROQ_API_KEY` under Space Settings -> Secrets.
122
  5. Confirm `app.py` is the entry point.
123
  6. Restart the Space if dependencies are updated.
@@ -149,6 +149,7 @@ The app is designed to run on Hugging Face Spaces CPU. It uses CPU-compatible em
149
  β”œβ”€β”€ app.py
150
  β”œβ”€β”€ README.md
151
  β”œβ”€β”€ requirements.txt
 
152
  β”œβ”€β”€ Dockerfile
153
  β”œβ”€β”€ .gitattributes
154
  └── assets/
 
117
 
118
  1. Create a new Hugging Face Space.
119
  2. Choose Streamlit as the Space SDK.
120
+ 3. Upload `app.py`, `README.md`, `requirements.txt`, `runtime.txt`, `.gitattributes`, and the `assets/` folder. `Dockerfile` is included for GitHub/Docker users, but a normal Streamlit Space does not require it.
121
  4. Add `GROQ_API_KEY` under Space Settings -> Secrets.
122
  5. Confirm `app.py` is the entry point.
123
  6. Restart the Space if dependencies are updated.
 
149
  β”œβ”€β”€ app.py
150
  β”œβ”€β”€ README.md
151
  β”œβ”€β”€ requirements.txt
152
+ β”œβ”€β”€ runtime.txt
153
  β”œβ”€β”€ Dockerfile
154
  β”œβ”€β”€ .gitattributes
155
  └── assets/
requirements.txt CHANGED
@@ -6,10 +6,8 @@ langchain-community==0.2.16
6
  langchain-groq==0.1.10
7
  langchain-huggingface==0.0.3
8
  langchain-text-splitters==0.2.4
9
- faiss-cpu>=1.9.0.post1,<1.15.0
10
  sentence-transformers==3.1.1
11
- transformers==4.44.2
12
- torch==2.4.1
13
  pypdf==4.3.1
14
  docx2txt==0.8
15
  tiktoken==0.7.0
 
6
  langchain-groq==0.1.10
7
  langchain-huggingface==0.0.3
8
  langchain-text-splitters==0.2.4
9
+ faiss-cpu==1.8.0.post1
10
  sentence-transformers==3.1.1
 
 
11
  pypdf==4.3.1
12
  docx2txt==0.8
13
  tiktoken==0.7.0
runtime.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ python-3.10