Spaces:
Running
Running
IC4T
commited on
Commit
•
ab98e06
1
Parent(s):
11b93fa
update
Browse files- app.py +0 -2
- requirements.txt +0 -2
app.py
CHANGED
@@ -2,9 +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 |
os.system('pip install -e ./langchain')
|
7 |
-
|
8 |
import gradio as gr
|
9 |
from dotenv import load_dotenv
|
10 |
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,6 +13,4 @@ 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
|
17 |
-
|
18 |
|
|
|
13 |
transformers @ git+https://github.com/huggingface/transformers@ef42c2c487260c2a0111fa9d17f2507d84ddedea
|
14 |
unstructured==0.6.2
|
15 |
xformers==0.0.19
|
|
|
|
|
16 |
|