Spaces:
Paused
Paused
update layout
Browse files
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 |
-
|
224 |
-
|
|
|
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,
|