finalf0 commited on
Commit
f5623a4
1 Parent(s): 2f08ee5

update layout

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -220,8 +220,9 @@ with gr.Blocks() as demo:
220
  bt_pic = gr.Image(label="Upload an image to start")
221
  chat_bot = gr.Chatbot(label=f"Chat with {model_name}")
222
  txt_message = gr.Textbox(label="Input text")
223
- regenerate = create_component({'value': 'Regenerate'}, comp='Button', visible=True)
224
- clear = create_component({'value': 'Clear'}, comp='Button', visible=True)
 
225
 
226
  clear.click(
227
  clear_button_clicked,
 
220
  bt_pic = gr.Image(label="Upload an image to start")
221
  chat_bot = gr.Chatbot(label=f"Chat with {model_name}")
222
  txt_message = gr.Textbox(label="Input text")
223
+ with gr.Row():
224
+ regenerate = create_component({'value': 'Regenerate'}, comp='Button', visible=True)
225
+ clear = create_component({'value': 'Clear'}, comp='Button', visible=True)
226
 
227
  clear.click(
228
  clear_button_clicked,