Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import gradio as gr
|
|
5 |
import logging
|
6 |
from moviepy.editor import VideoFileClip
|
7 |
import json
|
8 |
-
|
9 |
|
10 |
def truncate_video(video_file):
|
11 |
"""Truncates video to 15 seconds and saves it as a temporary file."""
|
|
|
5 |
import logging
|
6 |
from moviepy.editor import VideoFileClip
|
7 |
import json
|
8 |
+
import spaces
|
9 |
|
10 |
def truncate_video(video_file):
|
11 |
"""Truncates video to 15 seconds and saves it as a temporary file."""
|