Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -138,6 +138,7 @@ with gr.Blocks() as interface:
|
|
138 |
|
139 |
with gr.Accordion("Output SVG File"):
|
140 |
out_file = gr.File()
|
|
|
141 |
|
142 |
|
143 |
# Convert
|
@@ -159,7 +160,7 @@ with gr.Blocks() as interface:
|
|
159 |
max_iterations,
|
160 |
splice_threshold,
|
161 |
path_precision],
|
162 |
-
out_file)
|
163 |
|
164 |
|
165 |
interface.launch()
|
|
|
138 |
|
139 |
with gr.Accordion("Output SVG File"):
|
140 |
out_file = gr.File()
|
141 |
+
out_html = gr.HTML(f'<img src="{out_file}">')
|
142 |
|
143 |
|
144 |
# Convert
|
|
|
160 |
max_iterations,
|
161 |
splice_threshold,
|
162 |
path_precision],
|
163 |
+
[out_file,out_html])
|
164 |
|
165 |
|
166 |
interface.launch()
|