NBayer commited on
Commit
d26ce5a
1 Parent(s): 2d3ea34

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def get_pdf_text(pdf_path):
25
 
26
  return pdf_text
27
 
28
- headers = {"Authorization": "Bearer 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"}
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"