Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -29,7 +29,8 @@ def sample_frames(video_file, num_frames):
|
|
29 |
frames.append(pil_img)
|
30 |
video.release()
|
31 |
return frames
|
32 |
-
|
|
|
33 |
def bot_streaming(message, history):
|
34 |
|
35 |
txt = message["text"]
|
|
|
29 |
frames.append(pil_img)
|
30 |
video.release()
|
31 |
return frames
|
32 |
+
|
33 |
+
@spaces.GPU
|
34 |
def bot_streaming(message, history):
|
35 |
|
36 |
txt = message["text"]
|