Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -80,7 +80,7 @@ def flip_video_horizontally(video_path):
|
|
80 |
os.replace(temp_output_path, video_path)
|
81 |
print(f"Finished flipping video:{video_path}")
|
82 |
|
83 |
-
@spaces.GPU()
|
84 |
def evaluate_sign_language(user_video, standard_video_option):
|
85 |
if user_video.split('/')[-1].startswith("sample."):
|
86 |
flip_video_horizontally(user_video)
|
|
|
80 |
os.replace(temp_output_path, video_path)
|
81 |
print(f"Finished flipping video:{video_path}")
|
82 |
|
83 |
+
@spaces.GPU(duration=200)
|
84 |
def evaluate_sign_language(user_video, standard_video_option):
|
85 |
if user_video.split('/')[-1].startswith("sample."):
|
86 |
flip_video_horizontally(user_video)
|