Haozhangcx commited on
Commit
af7e468
1 Parent(s): c38a744

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -221,7 +221,7 @@ with gr.Blocks() as demo:
221
  cur_dir = os.path.dirname(os.path.abspath(__file__))
222
  gr.Markdown(title_markdown)
223
  with gr.Row():
224
- with gr.Column():
225
  with gr.Row():
226
  chat_input = gr.MultimodalTextbox(interactive=True, file_types=["image","video"], placeholder="Enter message or upload file...", show_label=False)
227
  with gr.Row():
@@ -237,7 +237,7 @@ with gr.Blocks() as demo:
237
  # [{"files": [f"playground/demo/examples/lion1_.mp4",f"playground/demo/examples/lion2_.mp4"], "text": "The input contains two videos, the first half is the first video and the second half is the second video. What is the difference between the two videos?"}],
238
 
239
  ], inputs=[chat_input], label="Compare images: ",examples_per_page=3)
240
- with gr.Column():
241
  with gr.Row():
242
  chatbot = gr.Chatbot(
243
  [],
 
221
  cur_dir = os.path.dirname(os.path.abspath(__file__))
222
  gr.Markdown(title_markdown)
223
  with gr.Row():
224
+ with gr.Column(scale=1):
225
  with gr.Row():
226
  chat_input = gr.MultimodalTextbox(interactive=True, file_types=["image","video"], placeholder="Enter message or upload file...", show_label=False)
227
  with gr.Row():
 
237
  # [{"files": [f"playground/demo/examples/lion1_.mp4",f"playground/demo/examples/lion2_.mp4"], "text": "The input contains two videos, the first half is the first video and the second half is the second video. What is the difference between the two videos?"}],
238
 
239
  ], inputs=[chat_input], label="Compare images: ",examples_per_page=3)
240
+ with gr.Column(scale=2):
241
  with gr.Row():
242
  chatbot = gr.Chatbot(
243
  [],