Spaces:
Sleeping
Sleeping
Silence1412
commited on
Commit
•
3909231
1
Parent(s):
c6e8c65
Update Chat_with_pdf_LLM.py
Browse files- Chat_with_pdf_LLM.py +1 -0
Chat_with_pdf_LLM.py
CHANGED
@@ -8,6 +8,7 @@ from langchain.llms import OpenAI
|
|
8 |
from langchain.callbacks import get_openai_callback
|
9 |
import os
|
10 |
from streamlit_chat import message
|
|
|
11 |
|
12 |
def LLM_pdf(model_name = 'google/flan-t5-large'):
|
13 |
# st.header("Ask your PDF 💬")
|
|
|
8 |
from langchain.callbacks import get_openai_callback
|
9 |
import os
|
10 |
from streamlit_chat import message
|
11 |
+
from langchain import HuggingFaceHub
|
12 |
|
13 |
def LLM_pdf(model_name = 'google/flan-t5-large'):
|
14 |
# st.header("Ask your PDF 💬")
|