Omnibus commited on
Commit
1beb47e
·
verified ·
1 Parent(s): 2b313b6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -568,7 +568,7 @@ def create_image(url):
568
  # url="tmp.svg", write_to="output.png")
569
  output = cairosvg.svg2png(
570
  bytestring=open('tmp.svg').read().encode('utf-8'), write_to="output.png")
571
- return output
572
 
573
  score_js="""
574
  function(text_input) {
 
568
  # url="tmp.svg", write_to="output.png")
569
  output = cairosvg.svg2png(
570
  bytestring=open('tmp.svg').read().encode('utf-8'), write_to="output.png")
571
+ return "output.png"
572
 
573
  score_js="""
574
  function(text_input) {