Ojobo commited on
Commit
8df1696
Β·
verified Β·
1 Parent(s): 808eb62

Update app.py

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