finalf0 commited on
Commit
73c9a6e
·
1 Parent(s): 753cdee
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -204,12 +204,12 @@ def clear_button_clicked(_question, _chat_bot, _app_cfg, _bt_pic):
204
 
205
  with gr.Blocks() as demo:
206
  with gr.Row():
207
- with gr.Row(scale=1, min_width=500):
208
  app_session = gr.State({'sts':None,'ctx':None,'img':None})
209
  bt_pic = gr.Image(label="Upload an image to start")
210
  chat_bot = gr.Chatbot(label=f"Chat with {model_name}")
211
  txt_message = gr.Textbox(label="Input text")
212
- with gr.Row(scale=1, min_width=300):
213
  params_form = create_component(form_radio, comp='Radio')
214
  with gr.Accordion("Beam Search", visible=False) as beams_according:
215
  num_beams = create_component(num_beams_slider)
 
204
 
205
  with gr.Blocks() as demo:
206
  with gr.Row():
207
+ with gr.Row():
208
  app_session = gr.State({'sts':None,'ctx':None,'img':None})
209
  bt_pic = gr.Image(label="Upload an image to start")
210
  chat_bot = gr.Chatbot(label=f"Chat with {model_name}")
211
  txt_message = gr.Textbox(label="Input text")
212
+ with gr.Row():
213
  params_form = create_component(form_radio, comp='Radio')
214
  with gr.Accordion("Beam Search", visible=False) as beams_according:
215
  num_beams = create_component(num_beams_slider)