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