Spaces:
Running
Running
Update cluster_insight.py
Browse files- cluster_insight.py +1 -1
cluster_insight.py
CHANGED
|
@@ -226,7 +226,7 @@ def cluster_and_visualize(
|
|
| 226 |
|
| 227 |
img_bytes = fig.to_image(format="png", width=900, height=600, scale=2 ) # 新增这一行!
|
| 228 |
b64 = base64.b64encode(img_bytes).decode()
|
| 229 |
-
print(f"{b64}解析成功!")
|
| 230 |
# return b64, stats
|
| 231 |
return fig, b64, stats
|
| 232 |
|
|
|
|
| 226 |
|
| 227 |
img_bytes = fig.to_image(format="png", width=900, height=600, scale=2 ) # 新增这一行!
|
| 228 |
b64 = base64.b64encode(img_bytes).decode()
|
| 229 |
+
# print(f"{b64}解析成功!")
|
| 230 |
# return b64, stats
|
| 231 |
return fig, b64, stats
|
| 232 |
|