Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -285,8 +285,8 @@ with image_blocks as demo:
|
|
285 |
# text_prompt = gr.Textbox(lines=1, label="Prompt")
|
286 |
btn = gr.Button(value="Submit")
|
287 |
with gr.Column():
|
288 |
-
image_out_seg = gr.Image(label="Segmented object", height=
|
289 |
-
image_out_shift = gr.Image(label="Shifted object", height=
|
290 |
|
291 |
btn.click(fn=main_fun, inputs=[image, x_units, y_units, text_prompt, box_threshold, text_threshold, inpaint_text_prompt, num_inference_steps], outputs=[image_out_seg, image_out_shift])
|
292 |
|
|
|
285 |
# text_prompt = gr.Textbox(lines=1, label="Prompt")
|
286 |
btn = gr.Button(value="Submit")
|
287 |
with gr.Column():
|
288 |
+
image_out_seg = gr.Image(label="Segmented object", height=400, width=400)
|
289 |
+
image_out_shift = gr.Image(label="Shifted object", height=400, width=400)
|
290 |
|
291 |
btn.click(fn=main_fun, inputs=[image, x_units, y_units, text_prompt, box_threshold, text_threshold, inpaint_text_prompt, num_inference_steps], outputs=[image_out_seg, image_out_shift])
|
292 |
|