Spaces:
Runtime error
Runtime error
mrfakename
commited on
Commit
•
e0eb507
1
Parent(s):
cd834f0
Update app.py
Browse files
app.py
CHANGED
@@ -165,7 +165,7 @@ def create_family_tree(start_model):
|
|
165 |
plt.figtext(0.5, 0.01, "Merge Family Tree. Created by Maxime Labonne, ported to Gradio by mrfakename.\nhttps://huggingface.co/spaces/mrfakename/merge-model-tree", ha="center", fontsize=10)
|
166 |
|
167 |
buf = io.BytesIO()
|
168 |
-
|
169 |
buf.seek(0)
|
170 |
img = Image.open(buf)
|
171 |
return img
|
|
|
165 |
plt.figtext(0.5, 0.01, "Merge Family Tree. Created by Maxime Labonne, ported to Gradio by mrfakename.\nhttps://huggingface.co/spaces/mrfakename/merge-model-tree", ha="center", fontsize=10)
|
166 |
|
167 |
buf = io.BytesIO()
|
168 |
+
plt.savefig(buf)
|
169 |
buf.seek(0)
|
170 |
img = Image.open(buf)
|
171 |
return img
|