Update app.py
Browse files
app.py
CHANGED
|
@@ -8,10 +8,11 @@ import logging
|
|
| 8 |
import gradio as gr
|
| 9 |
import tempfile
|
| 10 |
import os
|
|
|
|
| 11 |
from tqdm.auto import tqdm
|
| 12 |
from pathlib import Path
|
|
|
|
| 13 |
import time
|
| 14 |
-
|
| 15 |
class VideoProcessor:
|
| 16 |
def __init__(self):
|
| 17 |
self.device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|
|
|
|
| 8 |
import gradio as gr
|
| 9 |
import tempfile
|
| 10 |
import os
|
| 11 |
+
import shutil
|
| 12 |
from tqdm.auto import tqdm
|
| 13 |
from pathlib import Path
|
| 14 |
+
from typing import List, Dict, Tuple
|
| 15 |
import time
|
|
|
|
| 16 |
class VideoProcessor:
|
| 17 |
def __init__(self):
|
| 18 |
self.device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
|