Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
c311a66
1
Parent(s):
fa0c063
update app
Browse files
app.py
CHANGED
@@ -218,6 +218,10 @@ def gradio_demo(
|
|
218 |
prediction_save_path = os.path.join(target_dir, "predictions.npz")
|
219 |
np.savez(prediction_save_path, **predictions)
|
220 |
|
|
|
|
|
|
|
|
|
221 |
# Build a GLB file name
|
222 |
glbfile = os.path.join(
|
223 |
target_dir,
|
|
|
218 |
prediction_save_path = os.path.join(target_dir, "predictions.npz")
|
219 |
np.savez(prediction_save_path, **predictions)
|
220 |
|
221 |
+
# Handle None frame_filter
|
222 |
+
if frame_filter is None:
|
223 |
+
frame_filter = "All"
|
224 |
+
|
225 |
# Build a GLB file name
|
226 |
glbfile = os.path.join(
|
227 |
target_dir,
|