Pruthul commited on
Commit
e7f35cc
1 Parent(s): a874616

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,4 +2,4 @@ import gradio as gr
2
 
3
  examples = ["I hate you", "You're pretty cool!!!", "This is a smelly garbage article", "Americans are awful", "I'm going to find your house"]
4
  access_token = "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"
5
- gr.Interface.load("models/Pruthul/toxic-bert", examples=examples,use_auth_token=access_token).launch()
 
2
 
3
  examples = ["I hate you", "You're pretty cool!!!", "This is a smelly garbage article", "Americans are awful", "I'm going to find your house"]
4
  access_token = "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"
5
+ gr.Interface.load("models/Pruthul/toxic-bert", examples=examples, api_key=access_token).launch()