bishoygaloaa commited on
Commit
ec340e7
·
verified ·
1 Parent(s): 8b4e9d5

Fix: gr.Markdown does not accept scale kwarg

Browse files
Files changed (1) hide show
  1. app.py +8 -7
app.py CHANGED
@@ -442,13 +442,14 @@ def build_demo() -> gr.Blocks:
442
  conf_chart = gr.Plot(label="Confidence / Answer trajectory")
443
 
444
  with gr.Row():
445
- chatbot = gr.Chatbot(
446
- label="Conversation replay",
447
- type="messages",
448
- height=500,
449
- scale=3,
450
- )
451
- meta_md = gr.Markdown(scale=2)
 
452
 
453
  # Wire dropdowns
454
  model_dd.change(
 
442
  conf_chart = gr.Plot(label="Confidence / Answer trajectory")
443
 
444
  with gr.Row():
445
+ with gr.Column(scale=3):
446
+ chatbot = gr.Chatbot(
447
+ label="Conversation replay",
448
+ type="messages",
449
+ height=500,
450
+ )
451
+ with gr.Column(scale=2):
452
+ meta_md = gr.Markdown()
453
 
454
  # Wire dropdowns
455
  model_dd.change(