Rachel1809 commited on
Commit
4a1f3f9
1 Parent(s): cda2e22

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,7 +13,7 @@ def evaluate_comment(Comment):
13
 
14
  return text
15
 
16
- interface = gr.Interface(fn = evaluate_comment, live=True, inputs = gr.inputs.Textbox(lines = 4, placeholder='Comment to evaluate'),
17
  outputs = 'text', description="An NLP model that classifies level of toxicity of the sentence.")
18
 
19
- interface.launch(debug=True, inline=True)
 
13
 
14
  return text
15
 
16
+ interface = gr.Interface(fn = evaluate_comment, inputs = gr.inputs.Textbox(lines = 4, placeholder='Comment to evaluate'),
17
  outputs = 'text', description="An NLP model that classifies level of toxicity of the sentence.")
18
 
19
+ interface.launch()