Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -733,7 +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 |
|
736 |
-
|
|
|
|
|
737 |
fn=analyze_composite,
|
738 |
inputs=textbox_inputs + quiz_boxes + [none_box],
|
739 |
outputs=[
|
@@ -748,8 +750,8 @@ interface = gr.Interface(
|
|
748 |
flagging_mode="manual"
|
749 |
)
|
750 |
|
751 |
-
#
|
752 |
-
|
753 |
-
|
754 |
|
755 |
|
|
|
733 |
none_box = gr.Checkbox(label="None of the above")
|
734 |
|
735 |
|
736 |
+
# βββ FINAL βFORCE LAUNCHβ (no guards) ββββββββββββββββββββββββ
|
737 |
+
|
738 |
+
demo = gr.Interface(
|
739 |
fn=analyze_composite,
|
740 |
inputs=textbox_inputs + quiz_boxes + [none_box],
|
741 |
outputs=[
|
|
|
750 |
flagging_mode="manual"
|
751 |
)
|
752 |
|
753 |
+
# This single call will start the server and block,
|
754 |
+
# keeping the container alive on Spaces.
|
755 |
+
demo.launch()
|
756 |
|
757 |
|