Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -6,9 +6,9 @@ import matplotlib
|
|
| 6 |
matplotlib.rcParams['figure.dpi'] = 500
|
| 7 |
matplotlib.rcParams['savefig.dpi'] = 500
|
| 8 |
|
| 9 |
-
@spaces.GPU(duration=300)
|
| 10 |
import spaces
|
| 11 |
|
|
|
|
| 12 |
def process_and_show_completion(video_input_path, anomaly_threshold_input, fps, progress=gr.Progress()):
|
| 13 |
try:
|
| 14 |
print("Starting video processing...")
|
|
|
|
| 6 |
matplotlib.rcParams['figure.dpi'] = 500
|
| 7 |
matplotlib.rcParams['savefig.dpi'] = 500
|
| 8 |
|
|
|
|
| 9 |
import spaces
|
| 10 |
|
| 11 |
+
@spaces.GPU(duration=300)
|
| 12 |
def process_and_show_completion(video_input_path, anomaly_threshold_input, fps, progress=gr.Progress()):
|
| 13 |
try:
|
| 14 |
print("Starting video processing...")
|