Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -136,9 +136,6 @@ device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
|
136 |
print("DEVICE IS: ")
|
137 |
print(device)
|
138 |
|
139 |
-
videos_out_path = Path("./videos_out")
|
140 |
-
videos_out_path.mkdir(parents=True, exist_ok=True)
|
141 |
-
|
142 |
|
143 |
def time(secs):
|
144 |
return datetime.timedelta(seconds=round(secs))
|
@@ -289,7 +286,6 @@ with demo:
|
|
289 |
label="Examples", inputs=[youtube_url_in])
|
290 |
|
291 |
|
292 |
-
|
293 |
with gr.Row():
|
294 |
with gr.Column():
|
295 |
youtube_url_in.render()
|
|
|
136 |
print("DEVICE IS: ")
|
137 |
print(device)
|
138 |
|
|
|
|
|
|
|
139 |
|
140 |
def time(secs):
|
141 |
return datetime.timedelta(seconds=round(secs))
|
|
|
286 |
label="Examples", inputs=[youtube_url_in])
|
287 |
|
288 |
|
|
|
289 |
with gr.Row():
|
290 |
with gr.Column():
|
291 |
youtube_url_in.render()
|