ak0601 commited on
Commit
2e7548b
·
verified ·
1 Parent(s): 9380b17

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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'] = str(HUGGINGFACEHUB_API_TOKEN)
19
  GOOGLE_API_KEY = os.getenv("GOOGLE_API_KEY")
20
- os.environ["GOOGLE_API_KEY"] = str(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