rajistics commited on
Commit
6a6f517
1 Parent(s): ca70944

changed api key

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ def text_to_sentiment(text):
31
 
32
  ##Company Extraction
33
  def fin_ner(text):
34
- api = gr.Interface.load("dslim/bert-base-NER", src='models',use_auth_token=auth_token)
35
  replaced_spans = api(text)
36
  return replaced_spans
37
 
 
31
 
32
  ##Company Extraction
33
  def fin_ner(text):
34
+ api = gr.Interface.load("dslim/bert-base-NER", src='models', api_key=auth_token)
35
  replaced_spans = api(text)
36
  return replaced_spans
37