Spaces:
Running
on
A100
Running
on
A100
initial test
Browse files- app.py +0 -4
- requirements.txt +2 -1
app.py
CHANGED
@@ -3,12 +3,8 @@ import json
|
|
3 |
import gradio as gr
|
4 |
import tempfile
|
5 |
from PIL import Image, ImageDraw, ImageFont
|
6 |
-
import cv2
|
7 |
from typing import Tuple, Optional
|
8 |
-
import torch
|
9 |
-
import spaces
|
10 |
from pathlib import Path
|
11 |
-
import time
|
12 |
|
13 |
# Import your highlight detection code
|
14 |
from video_highlight_detector import (
|
|
|
3 |
import gradio as gr
|
4 |
import tempfile
|
5 |
from PIL import Image, ImageDraw, ImageFont
|
|
|
6 |
from typing import Tuple, Optional
|
|
|
|
|
7 |
from pathlib import Path
|
|
|
8 |
|
9 |
# Import your highlight detection code
|
10 |
from video_highlight_detector import (
|
requirements.txt
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
Pillow
|
2 |
opencv-python
|
3 |
num2words
|
4 |
-
ffmpeg-python
|
|
|
|
1 |
Pillow
|
2 |
opencv-python
|
3 |
num2words
|
4 |
+
ffmpeg-python
|
5 |
+
transformers
|