HK2184 commited on
Commit
2a119a9
·
verified ·
1 Parent(s): b6fccb1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -8
app.py CHANGED
@@ -398,7 +398,7 @@ input[type=range] { accent-color: var(--accent) !important; }
398
  .flink { font-size: 12px; color: var(--accent); text-decoration: none; }
399
  """
400
 
401
- with gr.Blocks(css=CSS, title="MedQA — AMD ROCm") as demo:
402
 
403
  gr.HTML("""
404
  <div id="header">
@@ -475,12 +475,11 @@ with gr.Blocks(css=CSS, title="MedQA — AMD ROCm") as demo:
475
  with gr.Column(scale=5):
476
  gr.HTML('<div class="section-label">AI Answer & Reasoning</div>')
477
  output = gr.Textbox(
478
- label="",
479
- placeholder="Answer and clinical explanation will appear here...",
480
- lines=10,
481
- elem_classes=["out-box"],
482
- show_copy_button=True,
483
- )
484
 
485
  gr.HTML('<div class="section-label" style="margin-top:16px">Answer Confidence</div>')
486
  confidence = gr.HTML(
@@ -613,4 +612,4 @@ with gr.Blocks(css=CSS, title="MedQA — AMD ROCm") as demo:
613
  )
614
 
615
  if __name__ == "__main__":
616
- demo.launch()
 
398
  .flink { font-size: 12px; color: var(--accent); text-decoration: none; }
399
  """
400
 
401
+ with gr.Blocks(title="MedQA — AMD ROCm") as demo:
402
 
403
  gr.HTML("""
404
  <div id="header">
 
475
  with gr.Column(scale=5):
476
  gr.HTML('<div class="section-label">AI Answer & Reasoning</div>')
477
  output = gr.Textbox(
478
+ label="",
479
+ placeholder="Answer and clinical explanation will appear here...",
480
+ lines=10,
481
+ elem_classes=["out-box"],
482
+ )
 
483
 
484
  gr.HTML('<div class="section-label" style="margin-top:16px">Answer Confidence</div>')
485
  confidence = gr.HTML(
 
612
  )
613
 
614
  if __name__ == "__main__":
615
+ demo.launch(css=CSS)