Spaces:
Runtime error
Runtime error
Commit
·
c76ca51
1
Parent(s):
8e793e9
Update app.py
Browse files
app.py
CHANGED
@@ -115,6 +115,10 @@ def merge_frames():
|
|
115 |
|
116 |
|
117 |
path = '/content/video_results/restored_imgs'
|
|
|
|
|
|
|
|
|
118 |
image_folder = os.fsencode(path)
|
119 |
print(image_folder)
|
120 |
filenames = []
|
|
|
115 |
|
116 |
|
117 |
path = '/content/video_results/restored_imgs'
|
118 |
+
|
119 |
+
if not os.path.exist(path):
|
120 |
+
os.mkdirs(path)
|
121 |
+
|
122 |
image_folder = os.fsencode(path)
|
123 |
print(image_folder)
|
124 |
filenames = []
|