Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -82,6 +82,8 @@ css = ".output-image, .input-image {height: 40rem !important; width: 100% !impor
|
|
82 |
#css = "@media screen and (max-width: 600px) { .output_image, .input_image {height:20rem !important; width: 100% !important;} }"
|
83 |
# css = ".output_image, .input_image {height: 600px !important}"
|
84 |
|
|
|
|
|
85 |
iface = gr.Interface(fn=process_image,
|
86 |
inputs=gr.inputs.Image(type="pil"),
|
87 |
outputs=gr.outputs.Image(type="pil", label="annotated image"),
|
|
|
82 |
#css = "@media screen and (max-width: 600px) { .output_image, .input_image {height:20rem !important; width: 100% !important;} }"
|
83 |
# css = ".output_image, .input_image {height: 600px !important}"
|
84 |
|
85 |
+
css = ".image-preview {height: auto !important;}"
|
86 |
+
|
87 |
iface = gr.Interface(fn=process_image,
|
88 |
inputs=gr.inputs.Image(type="pil"),
|
89 |
outputs=gr.outputs.Image(type="pil", label="annotated image"),
|