init
Browse files
app.py
CHANGED
|
@@ -136,7 +136,7 @@ def camera_understanding(image_src, question, seed, progress=gr.Progress(track_t
|
|
| 136 |
suffix = f"_{k}"
|
| 137 |
out_path = os.path.join(save_dir, f"camera_map_vis{suffix}.png")
|
| 138 |
plt.tight_layout()
|
| 139 |
-
fig.savefig(out_path, dpi=
|
| 140 |
plt.close(fig)
|
| 141 |
saved_paths.append(out_path)
|
| 142 |
|
|
|
|
| 136 |
suffix = f"_{k}"
|
| 137 |
out_path = os.path.join(save_dir, f"camera_map_vis{suffix}.png")
|
| 138 |
plt.tight_layout()
|
| 139 |
+
fig.savefig(out_path, dpi=200, bbox_inches='tight', pad_inches=0)
|
| 140 |
plt.close(fig)
|
| 141 |
saved_paths.append(out_path)
|
| 142 |
|