Spaces:
Running
Running
app8
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ image_gradio_app = gr.Interface(
|
|
46 |
|
47 |
# Cell 2: Chatbot Model
|
48 |
|
49 |
-
loader = PyPDFDirectoryLoader('
|
50 |
data=loader.load()
|
51 |
# split documents
|
52 |
text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=150)
|
|
|
46 |
|
47 |
# Cell 2: Chatbot Model
|
48 |
|
49 |
+
loader = PyPDFDirectoryLoader('pdfs')
|
50 |
data=loader.load()
|
51 |
# split documents
|
52 |
text_splitter = RecursiveCharacterTextSplitter(chunk_size=1000, chunk_overlap=150)
|