Update app.py
Browse files
app.py
CHANGED
@@ -15,9 +15,9 @@ from langchain.chains.combine_documents import create_stuff_documents_chain
|
|
15 |
from dotenv import load_dotenv, dotenv_values
|
16 |
import os
|
17 |
HUGGINGFACEHUB_API_TOKEN = os.getenv("HUGGINGFACEHUB_API_TOKEN")
|
18 |
-
os.environ['HUGGINGFACEHUB_API_TOKEN'] =
|
19 |
GOOGLE_API_KEY = os.getenv("GOOGLE_API_KEY")
|
20 |
-
os.environ["GOOGLE_API_KEY"] =
|
21 |
|
22 |
reader = PdfReader("sound.pdf")
|
23 |
|
|
|
15 |
from dotenv import load_dotenv, dotenv_values
|
16 |
import os
|
17 |
HUGGINGFACEHUB_API_TOKEN = os.getenv("HUGGINGFACEHUB_API_TOKEN")
|
18 |
+
os.environ['HUGGINGFACEHUB_API_TOKEN'] = HUGGINGFACEHUB_API_TOKEN
|
19 |
GOOGLE_API_KEY = os.getenv("GOOGLE_API_KEY")
|
20 |
+
os.environ["GOOGLE_API_KEY"] = GOOGLE_API_KEY
|
21 |
|
22 |
reader = PdfReader("sound.pdf")
|
23 |
|