Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ def get_pdf_text(pdf_path):
|
|
25 |
|
26 |
return pdf_text
|
27 |
|
28 |
-
headers = {"Authorization": "
|
29 |
|
30 |
def create_tags(payload):
|
31 |
API_URL_TAGS = "https://api-inference.huggingface.co/models/fabiochiu/t5-base-tag-generation"
|
|
|
25 |
|
26 |
return pdf_text
|
27 |
|
28 |
+
headers = {"Authorization": st.secrets("HF_AUTH")}
|
29 |
|
30 |
def create_tags(payload):
|
31 |
API_URL_TAGS = "https://api-inference.huggingface.co/models/fabiochiu/t5-base-tag-generation"
|