milestone3 / app.py
Pruthul's picture
Update app.py
e7f35cc
raw
history blame
314 Bytes
import gradio as gr
examples = ["I hate you", "You're pretty cool!!!", "This is a smelly garbage article", "Americans are awful", "I'm going to find your house"]
access_token = "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"
gr.Interface.load("models/Pruthul/toxic-bert", examples=examples, api_key=access_token).launch()