nickil commited on
Commit
e33550f
1 Parent(s): 85e698a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -7
app.py CHANGED
@@ -59,13 +59,9 @@ if __name__ == "__main__":
59
  best_parse_img = Image.open("best_parse.ps")
60
 
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)
69
 
70
  gold_standard_img_png = Image.open("gold_standard.png")
71
  best_parse_img_png = Image.open("best_parse.png")
 
59
  best_parse_img = Image.open("best_parse.ps")
60
 
61
  width, height = gold_standard_img.size
62
+
63
+ gold_standard_img.save('gold_standard.png', dpi=(600, 600), quality=95)
64
+ best_parse_img.save('best_parse.png', dpi=(600, 600), quality=95)
 
 
 
 
65
 
66
  gold_standard_img_png = Image.open("gold_standard.png")
67
  best_parse_img_png = Image.open("best_parse.png")