SalmanML commited on
Commit
2085f26
1 Parent(s): ae91b49

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -34,7 +34,7 @@ import streamlit as st
34
  # key=os.environ.getattribute("api_key")
35
  # print(key)
36
  API_URL = "https://api-inference.huggingface.co/models/flair/ner-english-large"
37
- headers = {"Authorization": st.secret["api_key"]}
38
 
39
  ## Image uploading function ##
40
  def image_upload_and_ocr(reader):
 
34
  # key=os.environ.getattribute("api_key")
35
  # print(key)
36
  API_URL = "https://api-inference.huggingface.co/models/flair/ner-english-large"
37
+ headers = {"Authorization": st.secrets["api_key"]}
38
 
39
  ## Image uploading function ##
40
  def image_upload_and_ocr(reader):