Molbap HF Staff commited on
Commit
2eb7fd3
·
1 Parent(s): bc0be6a
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ MODELS = [
16
 
17
  def _fig_to_pil(fig) -> Image.Image:
18
  buf = io.BytesIO()
19
- fig.savefig(buf, format="png", bbox_inches="tight", dpi=160)
20
  buf.seek(0)
21
  return Image.open(buf).convert("RGB")
22
 
 
16
 
17
  def _fig_to_pil(fig) -> Image.Image:
18
  buf = io.BytesIO()
19
+ fig.savefig(buf, format="png", dpi=160)
20
  buf.seek(0)
21
  return Image.open(buf).convert("RGB")
22