John6666 commited on
Commit
1f35502
·
verified ·
1 Parent(s): f761475

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -96,7 +96,7 @@ with gr.Blocks() as demo:
96
  prompt = gr.Textbox(label="Input", value="Describe this image.", scale=4)
97
  submit = gr.Button("Submit")
98
  with gr.Row():
99
- img = gr.Image(type="pil", image_mode="RGB", label="Upload an Image")
100
  with gr.Column():
101
  output = gr.Markdown(label="Response")
102
  ann = gr.Image(visible=False, label="Annotated Image")
 
96
  prompt = gr.Textbox(label="Input", value="Describe this image.", scale=4)
97
  submit = gr.Button("Submit")
98
  with gr.Row():
99
+ img = gr.Image(type="pil", image_mode="RGB", format="png", label="Upload an Image")
100
  with gr.Column():
101
  output = gr.Markdown(label="Response")
102
  ann = gr.Image(visible=False, label="Annotated Image")