Spaces:
Sleeping
Sleeping
Upload 4 files
Browse files- app.py +2 -1
- note.txt +1 -1
- requirements.txt +3 -0
app.py
CHANGED
|
@@ -231,5 +231,6 @@ def status_route():
|
|
| 231 |
})
|
| 232 |
|
| 233 |
if __name__ == '__main__':
|
| 234 |
-
|
|
|
|
| 235 |
app.run(host='0.0.0.0', port=port)
|
|
|
|
| 231 |
})
|
| 232 |
|
| 233 |
if __name__ == '__main__':
|
| 234 |
+
# CHANGED: Default to 7860 for Hugging Face
|
| 235 |
+
port = int(os.environ.get("PORT", 7860))
|
| 236 |
app.run(host='0.0.0.0', port=port)
|
note.txt
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
https://
|
|
|
|
| 1 |
+
https://homemademirpur-ed-cad-ref.hf.space
|
requirements.txt
CHANGED
|
@@ -10,3 +10,6 @@ python-dotenv==1.2.1
|
|
| 10 |
python_docx==1.1.2
|
| 11 |
sentence_transformers==3.4.0
|
| 12 |
torch==2.9.0
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
python_docx==1.1.2
|
| 11 |
sentence_transformers==3.4.0
|
| 12 |
torch==2.9.0
|
| 13 |
+
langchain_core
|
| 14 |
+
langchain_text_splitters
|
| 15 |
+
faiss-cpu
|