SalmanML commited on
Commit
ae91b49
·
verified ·
1 Parent(s): daf8707

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -29,10 +29,10 @@ import requests
29
  import re
30
  from PIL import Image
31
  import streamlit as st
32
- import os
33
 
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
 
 
29
  import re
30
  from PIL import Image
31
  import streamlit as st
32
+ # import os
33
 
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