Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ from transformers import pipeline
|
|
2 |
import gradio as gr
|
3 |
import time
|
4 |
|
5 |
-
p = pipeline("automatic-speech-recognition", model="ibm-granite/granite-speech-3.2-8b",
|
6 |
|
7 |
def transcribe(audio, state=""):
|
8 |
time.sleep(3)
|
|
|
2 |
import gradio as gr
|
3 |
import time
|
4 |
|
5 |
+
p = pipeline("automatic-speech-recognition", model="ibm-granite/granite-speech-3.2-8b", torch_dtype=torch.bfloat16)
|
6 |
|
7 |
def transcribe(audio, state=""):
|
8 |
time.sleep(3)
|