Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ import gradio as gr
|
|
7 |
# from langchain_community.document_loaders import PyPDFLoader
|
8 |
# from langchain_community.chains import RetrievalQA
|
9 |
# from secret1 import GOOGLE_API as google_api
|
10 |
-
|
11 |
# def chatbot_response(user_input, history):
|
12 |
# # This is a placeholder function. Replace with your actual chatbot logic.
|
13 |
# bot_response = "You said: " + user_input
|
|
|
7 |
# from langchain_community.document_loaders import PyPDFLoader
|
8 |
# from langchain_community.chains import RetrievalQA
|
9 |
# from secret1 import GOOGLE_API as google_api
|
10 |
+
import PyPDF2
|
11 |
# def chatbot_response(user_input, history):
|
12 |
# # This is a placeholder function. Replace with your actual chatbot logic.
|
13 |
# bot_response = "You said: " + user_input
|