Spaces:
Runtime error
Runtime error
chuanenlin
commited on
Commit
•
8e4f8f7
1
Parent(s):
42b8f89
Update desc
Browse files- whichframe.py +1 -1
whichframe.py
CHANGED
@@ -103,7 +103,7 @@ N = 30
|
|
103 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
104 |
model, preprocess = openai_clip.load("ViT-B/32", device=device)
|
105 |
|
106 |
-
if st.button("Process video"):
|
107 |
ss.progress = 1
|
108 |
ss.video_start_time = 0
|
109 |
if url:
|
|
|
103 |
device = "cuda" if torch.cuda.is_available() else "cpu"
|
104 |
model, preprocess = openai_clip.load("ViT-B/32", device=device)
|
105 |
|
106 |
+
if st.button("Process video (please wait a bit)"):
|
107 |
ss.progress = 1
|
108 |
ss.video_start_time = 0
|
109 |
if url:
|