Spaces:
Running
Running
IC4T
commited on
Commit
•
e3eab2e
1
Parent(s):
cfd3735
update
Browse files- app.py +1 -1
- requirements.txt +0 -1
app.py
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
# All credit goes to `vnk8071` as I mentioned in the video.
|
3 |
# As this code was still in the pull request while I was creating the video, did some modifications so that it works for me locally.
|
4 |
import os
|
5 |
-
|
6 |
import gradio as gr
|
7 |
from dotenv import load_dotenv
|
8 |
from langchain.callbacks.streaming_stdout import StreamingStdOutCallbackHandler
|
|
|
2 |
# All credit goes to `vnk8071` as I mentioned in the video.
|
3 |
# As this code was still in the pull request while I was creating the video, did some modifications so that it works for me locally.
|
4 |
import os
|
5 |
+
os.system('pip install -e ./langchain')
|
6 |
import gradio as gr
|
7 |
from dotenv import load_dotenv
|
8 |
from langchain.callbacks.streaming_stdout import StreamingStdOutCallbackHandler
|
requirements.txt
CHANGED
@@ -13,4 +13,3 @@ torch==2.0.0
|
|
13 |
transformers @ git+https://github.com/huggingface/transformers@ef42c2c487260c2a0111fa9d17f2507d84ddedea
|
14 |
unstructured==0.6.2
|
15 |
xformers==0.0.19
|
16 |
-
-e ./langchain
|
|
|
13 |
transformers @ git+https://github.com/huggingface/transformers@ef42c2c487260c2a0111fa9d17f2507d84ddedea
|
14 |
unstructured==0.6.2
|
15 |
xformers==0.0.19
|
|