kanslor821
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -75,7 +75,7 @@ def speackers_list(audio_f : str):
|
|
75 |
|
76 |
model_size = "large-v3"
|
77 |
# Run on GPU with FP16
|
78 |
-
model_tts = WhisperModel(model_size,
|
79 |
|
80 |
|
81 |
def speach_to_text(file_name):
|
|
|
75 |
|
76 |
model_size = "large-v3"
|
77 |
# Run on GPU with FP16
|
78 |
+
model_tts = WhisperModel(model_size, device="cpu", compute_type="int8") #,device="cuda", compute_type="float16") #
|
79 |
|
80 |
|
81 |
def speach_to_text(file_name):
|