Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
VideoAuto-R1 (Qwen3-VL) Demo
|
| 3 |
A Gradio-based chat interface for adaptive inference with image/video inputs.
|
| 4 |
"""
|
| 5 |
-
|
| 6 |
import os
|
| 7 |
import base64
|
| 8 |
from io import BytesIO
|
|
@@ -178,6 +178,7 @@ class Qwen3VLAutoThinkDemo:
|
|
| 178 |
"fps": fps,
|
| 179 |
}
|
| 180 |
|
|
|
|
| 181 |
def generate(
|
| 182 |
self,
|
| 183 |
media_input: str | None,
|
|
|
|
| 2 |
VideoAuto-R1 (Qwen3-VL) Demo
|
| 3 |
A Gradio-based chat interface for adaptive inference with image/video inputs.
|
| 4 |
"""
|
| 5 |
+
import spaces
|
| 6 |
import os
|
| 7 |
import base64
|
| 8 |
from io import BytesIO
|
|
|
|
| 178 |
"fps": fps,
|
| 179 |
}
|
| 180 |
|
| 181 |
+
@spaces.GPU
|
| 182 |
def generate(
|
| 183 |
self,
|
| 184 |
media_input: str | None,
|