Spaces:
Runtime error
Runtime error
fix bugs.
Browse files
app.py
CHANGED
|
@@ -74,7 +74,7 @@ def process_multi_wrapper_only_show_rendered(rendered_txt_0, rendered_txt_1, ren
|
|
| 74 |
only_show_rendered_image=True)
|
| 75 |
|
| 76 |
if glyph_image[0] is None:
|
| 77 |
-
return "Warning: no glyph image would be rendered because the glyph insructions are not provided!",
|
| 78 |
else:
|
| 79 |
return "The glyph image is successfully rendered!", glyph_image, allow_run_generation
|
| 80 |
|
|
|
|
| 74 |
only_show_rendered_image=True)
|
| 75 |
|
| 76 |
if glyph_image[0] is None:
|
| 77 |
+
return "Warning: no glyph image would be rendered because the glyph insructions are not provided!", None, allow_run_generation
|
| 78 |
else:
|
| 79 |
return "The glyph image is successfully rendered!", glyph_image, allow_run_generation
|
| 80 |
|