Vihang28 commited on
Commit
d77612c
·
1 Parent(s): 0e44df4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -48,8 +48,8 @@ with gr.Blocks() as demo:
48
  gr.Markdown(title)
49
 
50
  with gr.Row():
51
- with gr.Column():
52
- image_input = gr.Image(type="pil", label="Upload Image")
53
  key_input = gr.Textbox(label="Enter API-key")
54
  upload_button = gr.Button(value="Upload & Start Chat", interactive=True, variant="primary")
55
  btn_clear = gr.ClearButton([image_input,key_input])
 
48
  gr.Markdown(title)
49
 
50
  with gr.Row():
51
+ with gr.Column(scale=0.5):
52
+ image_input = gr.Image(type="filepath", label="Upload Image")
53
  key_input = gr.Textbox(label="Enter API-key")
54
  upload_button = gr.Button(value="Upload & Start Chat", interactive=True, variant="primary")
55
  btn_clear = gr.ClearButton([image_input,key_input])