Spaces:
Runtime error
Runtime error
Commit
·
4a882a7
1
Parent(s):
699a269
Update app.py
Browse files
app.py
CHANGED
@@ -6,5 +6,5 @@ def get_image_size(image):
|
|
6 |
input_image = gr.Image(label="Input Image", scale=1, interactive=True)
|
7 |
output_text = gr.Textbox(label="Image Size", max_lines=1, show_copy_button=True, interactive=False)
|
8 |
|
9 |
-
iface = gr.Interface(fn=get_image_size, inputs=input_image, outputs=output_text, title="Image Size Detector", theme="zenafey/prodia-web")
|
10 |
iface.launch(show_api=False)
|
|
|
6 |
input_image = gr.Image(label="Input Image", scale=1, interactive=True)
|
7 |
output_text = gr.Textbox(label="Image Size", max_lines=1, show_copy_button=True, interactive=False)
|
8 |
|
9 |
+
iface = gr.Interface(fn=get_image_size, inputs=input_image, outputs=output_text, title="Image Size Detector", theme="zenafey/prodia-web", live=True)
|
10 |
iface.launch(show_api=False)
|