sming256 commited on
Commit
f94a455
·
verified ·
1 Parent(s): 633d61a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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,