Nils Durner commited on
Commit
5c08534
·
1 Parent(s): 1cfc216

move tool bar up

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -201,6 +201,14 @@ with gr.Blocks() as demo:
201
  height=350
202
  )
203
 
 
 
 
 
 
 
 
 
204
  with gr.Row():
205
  txt = gr.TextArea(
206
  scale=4,
@@ -215,14 +223,6 @@ with gr.Blocks() as demo:
215
  )
216
  submit_click.then(lambda: gr.Textbox(interactive=True), None, [txt], queue=False)
217
 
218
- with gr.Row():
219
- btn = gr.UploadButton("📁 Upload", size="sm")
220
- img_btn = gr.UploadButton("🖼️ Upload", size="sm", file_types=["image"])
221
- undo_btn = gr.Button("↩️ Undo")
222
- undo_btn.click(undo, inputs=[chatbot], outputs=[chatbot])
223
-
224
- clear = gr.ClearButton(chatbot, value="🗑️ Clear")
225
-
226
  if dump_controls:
227
  with gr.Row():
228
  dmp_btn = gr.Button("Dump")
 
201
  height=350
202
  )
203
 
204
+ with gr.Row():
205
+ btn = gr.UploadButton("📁 Upload", size="sm")
206
+ img_btn = gr.UploadButton("🖼️ Upload", size="sm", file_types=["image"])
207
+ undo_btn = gr.Button("↩️ Undo")
208
+ undo_btn.click(undo, inputs=[chatbot], outputs=[chatbot])
209
+
210
+ clear = gr.ClearButton(chatbot, value="🗑️ Clear")
211
+
212
  with gr.Row():
213
  txt = gr.TextArea(
214
  scale=4,
 
223
  )
224
  submit_click.then(lambda: gr.Textbox(interactive=True), None, [txt], queue=False)
225
 
 
 
 
 
 
 
 
 
226
  if dump_controls:
227
  with gr.Row():
228
  dmp_btn = gr.Button("Dump")