Browse Source

[1.0] Update to float32 to support my GPU

Penta 9 months ago
parent
commit
076f25e321
1 changed files with 1 additions and 1 deletions
  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")