SamanthaStorm commited on
Commit
50e394f
·
verified ·
1 Parent(s): b3be2be

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -733,9 +733,9 @@ quiz_boxes = [gr.Checkbox(label=q) for q, _ in ESCALATION_QUESTIONS]
733
  none_box = gr.Checkbox(label="None of the above")
734
 
735
  # top-level
736
- app = gr.Interface(
737
  fn=analyze_composite,
738
- inputs=textbox_inputs + quiz_boxes + [ none_box ],
739
  outputs=[
740
  gr.Textbox(label="Results"),
741
  gr.Image(label="Abuse Score Timeline", type="pil")
 
733
  none_box = gr.Checkbox(label="None of the above")
734
 
735
  # top-level
736
+ demo = gr.Interface(
737
  fn=analyze_composite,
738
+ inputs=textbox_inputs + quiz_boxes + [none_box],
739
  outputs=[
740
  gr.Textbox(label="Results"),
741
  gr.Image(label="Abuse Score Timeline", type="pil")