Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -69,7 +69,7 @@ with gr.Blocks() as app:
|
|
| 69 |
|
| 70 |
def update_image(selected_image_name):
|
| 71 |
image_data = get_selected_image(selected_image_name)
|
| 72 |
-
return
|
| 73 |
|
| 74 |
image_selector.change(fn=update_image, inputs=image_selector, outputs=image_display)
|
| 75 |
|
|
@@ -83,3 +83,4 @@ with gr.Blocks() as app:
|
|
| 83 |
analyze_button.click(fn=analyze_image, inputs=image_display, outputs=results_display)
|
| 84 |
|
| 85 |
app.launch()
|
|
|
|
|
|
| 69 |
|
| 70 |
def update_image(selected_image_name):
|
| 71 |
image_data = get_selected_image(selected_image_name)
|
| 72 |
+
return image_data
|
| 73 |
|
| 74 |
image_selector.change(fn=update_image, inputs=image_selector, outputs=image_display)
|
| 75 |
|
|
|
|
| 83 |
analyze_button.click(fn=analyze_image, inputs=image_display, outputs=results_display)
|
| 84 |
|
| 85 |
app.launch()
|
| 86 |
+
|