Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -31,14 +31,13 @@ def infer(video_frames, masks_frames):
|
|
| 31 |
execute_command(command)
|
| 32 |
|
| 33 |
# Get the list of files in the "results" folder
|
| 34 |
-
|
| 35 |
|
| 36 |
-
# Print the content of the "results
|
| 37 |
-
print("Contents of the
|
| 38 |
-
for item in
|
| 39 |
print(item)
|
| 40 |
|
| 41 |
-
|
| 42 |
return "done"
|
| 43 |
|
| 44 |
css="""
|
|
|
|
| 31 |
execute_command(command)
|
| 32 |
|
| 33 |
# Get the list of files in the "results" folder
|
| 34 |
+
result_files = os.listdir(output_folder)
|
| 35 |
|
| 36 |
+
# Print the content of the "results" folder
|
| 37 |
+
print(f"Contents of the {output_folder} folder:")
|
| 38 |
+
for item in result_files:
|
| 39 |
print(item)
|
| 40 |
|
|
|
|
| 41 |
return "done"
|
| 42 |
|
| 43 |
css="""
|