Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -160,6 +160,7 @@ def format_results(results):
|
|
160 |
- Processed Frames: {results['processed_frames']}
|
161 |
"""
|
162 |
|
|
|
163 |
def analyze_and_format(input_video):
|
164 |
results = analyze_video(input_video)
|
165 |
text_results = format_results(results)
|
|
|
160 |
- Processed Frames: {results['processed_frames']}
|
161 |
"""
|
162 |
|
163 |
+
@spaces.GPU
|
164 |
def analyze_and_format(input_video):
|
165 |
results = analyze_video(input_video)
|
166 |
text_results = format_results(results)
|