taruschirag commited on
Commit
efaca0f
·
verified ·
1 Parent(s): c504800

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -1
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(label="Compliance Output", lines=10, max_lines=15)
 
 
 
 
 
 
 
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,