SamanthaStorm commited on
Commit
38fd495
·
verified ·
1 Parent(s): 59cd989

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -98,7 +98,7 @@ def analyze_messages(input_text):
98
  iface = gr.Interface(
99
  fn=analyze_messages,
100
  inputs=gr.inputs.Textbox(lines=10, placeholder="Enter message here..."),
101
- outputs=["text", "json"],
102
  title="Abuse Pattern Detector"
103
  )
104
 
 
98
  iface = gr.Interface(
99
  fn=analyze_messages,
100
  inputs=gr.inputs.Textbox(lines=10, placeholder="Enter message here..."),
101
+ outputs=[gr.Textbox(), gr.JSON()],
102
  title="Abuse Pattern Detector"
103
  )
104