Spaces:
Runtime error
Runtime error
aakash0563
commited on
Commit
·
9063322
1
Parent(s):
afad96b
Update upload_pdf.py
Browse files- upload_pdf.py +1 -0
upload_pdf.py
CHANGED
@@ -2,6 +2,7 @@ import chromadb
|
|
2 |
from langchain.document_loaders import PyPDFLoader
|
3 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
4 |
from uuid import uuid4
|
|
|
5 |
|
6 |
|
7 |
text_splitter = RecursiveCharacterTextSplitter(
|
|
|
2 |
from langchain.document_loaders import PyPDFLoader
|
3 |
from langchain.text_splitter import RecursiveCharacterTextSplitter
|
4 |
from uuid import uuid4
|
5 |
+
import gradio as gr
|
6 |
|
7 |
|
8 |
text_splitter = RecursiveCharacterTextSplitter(
|