Felguk commited on
Commit
13cdfbe
·
verified ·
1 Parent(s): c75d598

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -24,14 +24,14 @@ def svg_to_html(svg_file):
24
  # Define the Gradio interface
25
  iface = gr.Interface(
26
  fn=svg_to_html,
27
- inputs=gr.inputs.File(label="Upload SVG File"),
28
  outputs=[
29
- gr.outputs.Textbox(lines=15, label="Generated HTML"),
30
- gr.outputs.HTML(label="SVG Preview")
31
  ],
32
  title="SVG to HTML Converter",
33
  description="Upload an SVG file to see the generated HTML code and a preview of the SVG",
34
- theme=Nymbo/Nymbo_theme_5
35
  )
36
 
37
  # Launch the interface
 
24
  # Define the Gradio interface
25
  iface = gr.Interface(
26
  fn=svg_to_html,
27
+ inputs=gr.File(label="Upload SVG File"),
28
  outputs=[
29
+ gr.Textbox(lines=15, label="Generated HTML"),
30
+ gr.HTML(label="SVG Preview")
31
  ],
32
  title="SVG to HTML Converter",
33
  description="Upload an SVG file to see the generated HTML code and a preview of the SVG",
34
+ theme=Nymbo/Nymbo_theme
35
  )
36
 
37
  # Launch the interface