Spaces:
Runtime error
Runtime error
| [project] | |
| name = "genai-chatbot" | |
| version = "0.1.0" | |
| description = "GenAI document chatbot β Streamlit + LangChain + FAISS + Ollama" | |
| requires-python = ">=3.11" | |
| dependencies = [ | |
| "streamlit>=1.42.0", | |
| "langchain>=1.3.0", | |
| "langchain-classic>=1.0.0", | |
| "langchain-community>=0.3.0", | |
| "langchain-ollama>=0.3.0", | |
| "langchain-huggingface>=0.1.2", | |
| "langchain-text-splitters>=0.3.6", | |
| "faiss-cpu>=1.10.0", | |
| "sentence-transformers>=3.4.1", | |
| "pandas>=2.2.3", | |
| "openpyxl>=3.1.5", | |
| "pypdf>=5.3.0", | |
| "python-dotenv>=1.0.1", | |
| "huggingface-hub>=0.28.1", | |
| # CPU-only torch (keeps image ~700 MB instead of 2.5 GB) | |
| "torch>=2.6.0", | |
| ] | |
| # Do not install this directory as a package β it is a plain script app | |
| [tool.uv] | |
| package = false | |
| # Point torch at the CPU-only PyTorch wheel index | |
| [tool.uv.sources] | |
| torch = { index = "pytorch-cpu" } | |
| [[tool.uv.index]] | |
| name = "pytorch-cpu" | |
| url = "https://download.pytorch.org/whl/cpu" | |
| explicit = true | |