ソースを参照

[1.0] Update to float32 to support my GPU

Penta 9 ヶ月 前
親
コミット
076f25e321
1 ファイル変更、1 行追加、1 行削除
  1. 1 1
      app.py

+ 1 - 1
app.py

@@ -8,7 +8,7 @@ app = FastAPI()
 model = WhisperModel(
     "small",
     device="cuda",
-    compute_type="float16"
+    compute_type="float32"
 )
 
 @app.post("/transcribe")