Kaynağa Gözat

[1.0] Update to float32 to support my GPU

Penta 9 ay önce
ebeveyn
işleme
076f25e321
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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")