Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
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")
|