tianyaogavin commited on
Commit
0bfe157
·
1 Parent(s): 220bdec

update pring

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -10,6 +10,7 @@ os.environ["HF_HOME"] = "/tmp/hf_cache"
10
  app = FastAPI()
11
 
12
  # 加载 Whisper 处理器和 CTranslate2 模型
 
13
  processor = WhisperProcessor.from_pretrained("./whisper_processor")
14
  model = ctranslate2.Whisper("ct2_model", compute_type="int8", device="cpu")
15
 
 
10
  app = FastAPI()
11
 
12
  # 加载 Whisper 处理器和 CTranslate2 模型
13
+ print("✅ THIS IS NEW APP.PY VERSION")
14
  processor = WhisperProcessor.from_pretrained("./whisper_processor")
15
  model = ctranslate2.Whisper("ct2_model", compute_type="int8", device="cpu")
16