Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -40,7 +40,6 @@ def infer(video_frames, masks_frames):
|
|
| 40 |
|
| 41 |
# List the content of the "bmx-trees" folder within "results"
|
| 42 |
bmx_trees_folder = os.path.join(output_folder, "bmx-trees")
|
| 43 |
-
bmx_trees_content = os.listdir(bmx_trees_folder)
|
| 44 |
bmx_trees_content = [os.path.join(bmx_trees_folder, item) for item in os.listdir(bmx_trees_folder)]
|
| 45 |
|
| 46 |
print(f"Contents of the {bmx_trees_folder} folder:")
|
|
@@ -75,7 +74,7 @@ with gr.Blocks(css=css) as demo:
|
|
| 75 |
|
| 76 |
with gr.Column():
|
| 77 |
result = gr.Textbox(label="Result")
|
| 78 |
-
res_files = gr.
|
| 79 |
|
| 80 |
|
| 81 |
|
|
|
|
| 40 |
|
| 41 |
# List the content of the "bmx-trees" folder within "results"
|
| 42 |
bmx_trees_folder = os.path.join(output_folder, "bmx-trees")
|
|
|
|
| 43 |
bmx_trees_content = [os.path.join(bmx_trees_folder, item) for item in os.listdir(bmx_trees_folder)]
|
| 44 |
|
| 45 |
print(f"Contents of the {bmx_trees_folder} folder:")
|
|
|
|
| 74 |
|
| 75 |
with gr.Column():
|
| 76 |
result = gr.Textbox(label="Result")
|
| 77 |
+
res_files = gr.Video()
|
| 78 |
|
| 79 |
|
| 80 |
|