SiyouLi commited on
Commit
ade0d84
·
verified ·
1 Parent(s): d7f000f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -10,7 +10,7 @@ import spaces
10
  import os
11
  import sys
12
  from typing import Optional, List, Tuple
13
- os.system('pip3 install transformers==4.57.1 huggingface_hub av qwen-vl-utils accelerate sentencepiece bitsandbytes -U')
14
  os.system('pip3 install torch==2.9.0 torchvision --index-url https://download.pytorch.org/whl/cu128 -U')
15
  import gradio as gr
16
  import torch
@@ -27,7 +27,7 @@ if PROJECT_ROOT not in sys.path:
27
  from qwen_vl_utils import process_vision_info
28
 
29
 
30
- DEFAULT_MODEL_ID = os.environ.get("QTSPLUS_MODEL_ID", "AlpachinoNLP/QTSplus-3B-FT")
31
  DEFAULT_QUESTION = "What is happening in the video?"
32
 
33
  USE_CUDA = True # set to False if you ever run this Space on CPU-only hardware
 
10
  import os
11
  import sys
12
  from typing import Optional, List, Tuple
13
+ os.system('pip3 install transformers==4.57.1 huggingface_hub>=1.01 av qwen-vl-utils accelerate sentencepiece bitsandbytes -U')
14
  os.system('pip3 install torch==2.9.0 torchvision --index-url https://download.pytorch.org/whl/cu128 -U')
15
  import gradio as gr
16
  import torch
 
27
  from qwen_vl_utils import process_vision_info
28
 
29
 
30
+ DEFAULT_MODEL_ID = os.environ.get("QTSPLUS_MODEL_ID", "AlpachinoNLP/QTSplus-3B")
31
  DEFAULT_QUESTION = "What is happening in the video?"
32
 
33
  USE_CUDA = True # set to False if you ever run this Space on CPU-only hardware