HK2184 commited on
Commit
ed840c4
·
verified ·
1 Parent(s): 8319573

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -445,13 +445,13 @@ with gr.Blocks(css=CSS, title="MedQA — AMD ROCm") as demo:
445
  # Right column — outputs
446
  with gr.Column(scale=5):
447
  gr.HTML('<div class="section-label">AI Answer & Reasoning</div>')
 
448
  output = gr.Textbox(
449
  label="",
450
  placeholder="Answer and clinical explanation will appear here...",
451
  lines=10,
452
  elem_classes=["out-box"],
453
- show_copy_button=True,
454
- )
455
 
456
  gr.HTML('<div class="section-label" style="margin-top:16px">Answer Confidence</div>')
457
  confidence = gr.HTML(
 
445
  # Right column — outputs
446
  with gr.Column(scale=5):
447
  gr.HTML('<div class="section-label">AI Answer & Reasoning</div>')
448
+ # AFTER — works on Gradio 6
449
  output = gr.Textbox(
450
  label="",
451
  placeholder="Answer and clinical explanation will appear here...",
452
  lines=10,
453
  elem_classes=["out-box"],
454
+ )
 
455
 
456
  gr.HTML('<div class="section-label" style="margin-top:16px">Answer Confidence</div>')
457
  confidence = gr.HTML(