Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ import os
|
|
11 |
|
12 |
|
13 |
# Access Hugging Face API token from Streamlit secrets
|
14 |
-
hf_token = st.secrets["huggingface"]["
|
15 |
|
16 |
# Function to get text from the PDF documents
|
17 |
def get_pdf_text(pdf_docs):
|
|
|
11 |
|
12 |
|
13 |
# Access Hugging Face API token from Streamlit secrets
|
14 |
+
hf_token = st.secrets["huggingface"]["HF_TOKEN"]
|
15 |
|
16 |
# Function to get text from the PDF documents
|
17 |
def get_pdf_text(pdf_docs):
|