Spaces:
Runtime error
Runtime error
trying to use gif embed
Browse files
app.py
CHANGED
|
@@ -40,11 +40,11 @@ def get_image_data():
|
|
| 40 |
def segmentation_generation(image_name, c_width, n_top, n_gif_imgs):
|
| 41 |
print("GRADIO INPUTS:", image_name, c_width, n_top, n_gif_imgs)
|
| 42 |
|
| 43 |
-
html =
|
| 44 |
-
<
|
| 45 |
-
|
| 46 |
-
</
|
| 47 |
-
|
| 48 |
return html
|
| 49 |
|
| 50 |
cred_width = c_width
|
|
|
|
| 40 |
def segmentation_generation(image_name, c_width, n_top, n_gif_imgs):
|
| 41 |
print("GRADIO INPUTS:", image_name, c_width, n_top, n_gif_imgs)
|
| 42 |
|
| 43 |
+
html = (
|
| 44 |
+
"<div >"
|
| 45 |
+
"<img src='./diego.gif' alt='image One'>"
|
| 46 |
+
+ "</div>"
|
| 47 |
+
)
|
| 48 |
return html
|
| 49 |
|
| 50 |
cred_width = c_width
|