Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ from langchain.text_splitter import CharacterTextSplitter
|
|
10 |
from langchain_huggingface import HuggingFaceEmbeddings
|
11 |
|
12 |
# Replicate API token
|
13 |
-
os.environ['REPLICATE_API_TOKEN'] = "
|
14 |
|
15 |
def extract_text_with_pypdf2(file):
|
16 |
reader = PyPDF2.PdfReader(file)
|
|
|
10 |
from langchain_huggingface import HuggingFaceEmbeddings
|
11 |
|
12 |
# Replicate API token
|
13 |
+
os.environ['REPLICATE_API_TOKEN'] = "r8_TN8tlsE4jjj9WISWhBKx7NqzHLAGwvq3pJOUj" # You need to use your replicate api
|
14 |
|
15 |
def extract_text_with_pypdf2(file):
|
16 |
reader = PyPDF2.PdfReader(file)
|