Spaces:
Runtime error
Runtime error
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 |
-
HUGGINGFACEHUB_API_TOKEN=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["HUGGINGFACEHUB_API_TOKEN"]
|
| 16 |
|
| 17 |
def get_pdf_text(pdf_docs : list) -> str:
|
| 18 |
text = ""
|