Chris4K commited on
Commit
f7493dd
1 Parent(s): 403222a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -2,6 +2,8 @@ import gradio as gr
2
  import os
3
  from langchain.vectorstores import Chroma
4
  from langchain.document_loaders import PyPDFLoader
 
 
5
  from langchain.embeddings import HuggingFaceInferenceAPIEmbeddings
6
 
7
  # Use Hugging Face Inference API embeddings
 
2
  import os
3
  from langchain.vectorstores import Chroma
4
  from langchain.document_loaders import PyPDFLoader
5
+ from langchain.text_splitter import CharacterTextSplitter
6
+
7
  from langchain.embeddings import HuggingFaceInferenceAPIEmbeddings
8
 
9
  # Use Hugging Face Inference API embeddings