ThirdFourthFifth commited on
Commit
9311039
·
verified ·
1 Parent(s): 500d27e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ def predict(input_txt):
11
  gradio_app = gr.Interface(
12
  predict,
13
  inputs=gr.Textbox(label="Input text"),
14
- outputs=[gr.Text(label="Processed Text"), gr.Label(label="Result", num_top_classes=3)],
15
  title="NSFW Prediction",
16
  )
17
 
 
11
  gradio_app = gr.Interface(
12
  predict,
13
  inputs=gr.Textbox(label="Input text"),
14
+ outputs=[gr.Label(label="Result")],
15
  title="NSFW Prediction",
16
  )
17