Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -61,8 +61,8 @@ if __name__ == "__main__":
|
|
61 |
width, height = gold_standard_img.size
|
62 |
print(width, height)
|
63 |
|
64 |
-
gold_standard_img = gold_standard_img.resize((gold_standard_img.width
|
65 |
-
best_parse_img = best_parse_img.resize((best_parse_img.width
|
66 |
|
67 |
gold_standard_img.save('gold_standard.png', dpi=(300, 300), quality=95)
|
68 |
best_parse_img.save('best_parse.png', dpi=(300, 300), quality=95)
|
|
|
61 |
width, height = gold_standard_img.size
|
62 |
print(width, height)
|
63 |
|
64 |
+
gold_standard_img = gold_standard_img.resize((gold_standard_img.width * 2, gold_standard_img.height * 2), Image.ANTIALIAS)
|
65 |
+
best_parse_img = best_parse_img.resize((best_parse_img.width * 2, best_parse_img.height * 2), Image.ANTIALIAS)
|
66 |
|
67 |
gold_standard_img.save('gold_standard.png', dpi=(300, 300), quality=95)
|
68 |
best_parse_img.save('best_parse.png', dpi=(300, 300), quality=95)
|