Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -69,7 +69,7 @@ def server(input: Inputs, output: Outputs, session: Session):
|
|
69 |
"""Displays the uploaded image"""
|
70 |
img_src = uploaded_image_path()
|
71 |
if img_src:
|
72 |
-
return ui.tags.img(src=str(img_src), style={"max-width": "100%"})
|
73 |
else:
|
74 |
return "" # Return an empty string if no image is uploaded
|
75 |
|
|
|
69 |
"""Displays the uploaded image"""
|
70 |
img_src = uploaded_image_path()
|
71 |
if img_src:
|
72 |
+
return str(ui.tags.img(src=str(img_src), style={"max-width": "100%"}))
|
73 |
else:
|
74 |
return "" # Return an empty string if no image is uploaded
|
75 |
|