Ojobo commited on
Commit
d0872dd
Β·
verified Β·
1 Parent(s): 92af710

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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)