Spaces:
Running
Running
Update app.py
Browse files
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) {
|