Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -237,7 +237,7 @@ def run_main_app(semantic_concept, word, letter, font_name, num_steps, example=0
|
|
237 |
combine_word(cfg.word, cfg.optimized_letter, cfg.font, cfg.experiment_dir)
|
238 |
|
239 |
image = os.path.join(cfg.experiment_dir,f"{cfg.font}_{cfg.word}_{cfg.optimized_letter}.svg")
|
240 |
-
yield gr.update(value=filename_init,visible=True),gr.update(visible=False),gr.update(value=image,visible=True)
|
241 |
|
242 |
with open(filename_init, "r") as f0:
|
243 |
svg_content_init = f0.read()
|
|
|
237 |
combine_word(cfg.word, cfg.optimized_letter, cfg.font, cfg.experiment_dir)
|
238 |
|
239 |
image = os.path.join(cfg.experiment_dir,f"{cfg.font}_{cfg.word}_{cfg.optimized_letter}.svg")
|
240 |
+
# yield gr.update(value=filename_init,visible=True),gr.update(visible=False),gr.update(value=image,visible=True)
|
241 |
|
242 |
with open(filename_init, "r") as f0:
|
243 |
svg_content_init = f0.read()
|