Afeezee commited on
Commit
7b7fde6
·
verified ·
1 Parent(s): 0c1ce9e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ Generate the correct code, ensure it is free from construct error and this kind
50
  cairosvg.svg2png(bytestring=full_svg_code.encode('utf-8'), write_to=png_filename)
51
 
52
  # Return the PNG for display, the PNG file for download, and the SVG code for editing later.
53
- return png_filename, png_filename, full_svg_code
54
 
55
  def update_svg(modified_svg_code):
56
  # Save the modified SVG code to the file
 
50
  cairosvg.svg2png(bytestring=full_svg_code.encode('utf-8'), write_to=png_filename)
51
 
52
  # Return the PNG for display, the PNG file for download, and the SVG code for editing later.
53
+ return full_svg_code, png_filename, full_svg_code
54
 
55
  def update_svg(modified_svg_code):
56
  # Save the modified SVG code to the file