Toxicity_model / app.py
animeshmahajan's picture
Upload app.py
da61f01
raw
history blame contribute delete
196 Bytes
import gradio as gr
interface = gr.Interface(fn=score_comment,
inputs=gr.inputs.Textbox(lines=2, placeholder='Comment to score'),
outputs='text')