Spaces:
Running
on
Zero
Running
on
Zero
xiaoyuxi
commited on
Commit
·
b371e90
1
Parent(s):
b0fd8ec
backend
Browse files
app.py
CHANGED
|
@@ -493,6 +493,8 @@ def reset_points(original_img: str, sel_pix):
|
|
| 493 |
print(f"Error in reset_points: {e}")
|
| 494 |
return None, []
|
| 495 |
|
|
|
|
|
|
|
| 496 |
def launch_viz(grid_size, vo_points, fps, original_image_state):
|
| 497 |
"""Launch visualization with user-specific temp directory"""
|
| 498 |
if original_image_state is None:
|
|
|
|
| 493 |
print(f"Error in reset_points: {e}")
|
| 494 |
return None, []
|
| 495 |
|
| 496 |
+
gr.set_static_paths(paths=[Path.cwd().absolute()/"_viz"])
|
| 497 |
+
|
| 498 |
def launch_viz(grid_size, vo_points, fps, original_image_state):
|
| 499 |
"""Launch visualization with user-specific temp directory"""
|
| 500 |
if original_image_state is None:
|