SamanthaStorm commited on
Commit
3f75626
·
verified ·
1 Parent(s): 7e8bed4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -732,13 +732,13 @@ textbox_inputs = [gr.Textbox(label=f"Message {i+1}") for i in range(3)]
732
  quiz_boxes = [gr.Checkbox(label=q) for q, _ in ESCALATION_QUESTIONS]
733
  none_box = gr.Checkbox(label="None of the above")
734
 
735
- + demo = gr.Interface(
736
- fn=analyze_composite,
737
- inputs= textbox_inputs + quiz_boxes + [none_box],
738
- outputs=[ gr.Textbox(...), gr.Image(... ) ],
739
- title="Abuse Pattern Detector + Escalation Quiz",
740
- description="…",
741
- allow_flagging="manual"
742
-
743
  iface.launch(server_name="0.0.0.0", server_port=7860)
744
 
 
732
  quiz_boxes = [gr.Checkbox(label=q) for q, _ in ESCALATION_QUESTIONS]
733
  none_box = gr.Checkbox(label="None of the above")
734
 
735
+ demo = gr.Interface(
736
+ fn=analyze_composite,
737
+ inputs= textbox_inputs + quiz_boxes + [none_box],
738
+ outputs=[ gr.Textbox(...), gr.Image(... ) ],
739
+ title="Abuse Pattern Detector + Escalation Quiz",
740
+ description="…",
741
+ allow_flagging="manual"
742
+ )
743
  iface.launch(server_name="0.0.0.0", server_port=7860)
744