Spaces:
Runtime error
Runtime error
DeepSoft-Tech
commited on
Commit
•
2c1c1a2
1
Parent(s):
e4cd0b9
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ from htmlTemplates import css, bot_template, user_template
|
|
12 |
from langchain.llms import HuggingFaceHub
|
13 |
|
14 |
# set this key as an environment variable
|
15 |
-
os.environ["
|
16 |
|
17 |
def get_pdf_text(pdf_docs : list) -> str:
|
18 |
text = ""
|
|
|
12 |
from langchain.llms import HuggingFaceHub
|
13 |
|
14 |
# set this key as an environment variable
|
15 |
+
HUGGINGFACEHUB_API_TOKEN=os.environ["huggingface_token"]
|
16 |
|
17 |
def get_pdf_text(pdf_docs : list) -> str:
|
18 |
text = ""
|