Spaces:
Sleeping
Sleeping
Commit ·
7978118
1
Parent(s): 2e463e9
fix block name warning
Browse files
app.py
CHANGED
|
@@ -33,7 +33,7 @@ def display_image_info(input_image):
|
|
| 33 |
except:
|
| 34 |
return f"The image format is unknown. However the file extension is '{input_image.split('.')[-1]}'"
|
| 35 |
|
| 36 |
-
with gr.Blocks(
|
| 37 |
with gr.Row():
|
| 38 |
with gr.Column():
|
| 39 |
input_image = gr.Image("input_image", type="filepath")
|
|
|
|
| 33 |
except:
|
| 34 |
return f"The image format is unknown. However the file extension is '{input_image.split('.')[-1]}'"
|
| 35 |
|
| 36 |
+
with gr.Blocks() as demo:
|
| 37 |
with gr.Row():
|
| 38 |
with gr.Column():
|
| 39 |
input_image = gr.Image("input_image", type="filepath")
|