Spaces:
Runtime error
Runtime error
mkumar87AI
commited on
Commit
β’
a75befc
1
Parent(s):
b24a578
Upload 2 files
Browse files- app.py +0 -5
- requirements.txt +5 -0
app.py
CHANGED
@@ -18,11 +18,6 @@ locale.getpreferredencoding = lambda: "UTF-8"
|
|
18 |
|
19 |
"""### Install the python packages. They are need to execute necessary to make the program work"""
|
20 |
|
21 |
-
pip install -qq -U langchain transformers sentence-transformers bitsandbytes accelerate
|
22 |
-
|
23 |
-
pip install --upgrade fastapi typing-extensions
|
24 |
-
pip install --upgrade gradio
|
25 |
-
|
26 |
"""### Import the necessary libraries"""
|
27 |
|
28 |
from langchain.llms.huggingface_pipeline import HuggingFacePipeline
|
|
|
18 |
|
19 |
"""### Install the python packages. They are need to execute necessary to make the program work"""
|
20 |
|
|
|
|
|
|
|
|
|
|
|
21 |
"""### Import the necessary libraries"""
|
22 |
|
23 |
from langchain.llms.huggingface_pipeline import HuggingFacePipeline
|
requirements.txt
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
langchain
|
2 |
+
transformers
|
3 |
+
sentence-transformers
|
4 |
+
bitsandbytes
|
5 |
+
accelerate
|