Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -206,7 +206,14 @@ with gr.Blocks(title="DynaGuard Compliance Checker") as demo:
|
|
206 |
info="The 8B model is more powerful but may be slower to load and run."
|
207 |
)
|
208 |
submit_btn = gr.Button("Submit")
|
209 |
-
output_box = gr.Textbox(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
210 |
|
211 |
submit_btn.click(
|
212 |
compliance_check,
|
|
|
206 |
info="The 8B model is more powerful but may be slower to load and run."
|
207 |
)
|
208 |
submit_btn = gr.Button("Submit")
|
209 |
+
output_box = gr.Textbox(
|
210 |
+
label="Compliance Output",
|
211 |
+
lines=15,
|
212 |
+
max_lines=30, # limit visible height
|
213 |
+
show_copy_button=True, # lets users copy full output
|
214 |
+
interactive=False
|
215 |
+
)
|
216 |
+
|
217 |
|
218 |
submit_btn.click(
|
219 |
compliance_check,
|