camanalo1 commited on
Commit
85d21d4
1 Parent(s): 94cf134

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import io
6
  import soundfile as sf
7
 
8
  # Initialize ASR pipeline
9
- transcriber = pipeline("automatic-speech-recognition", model="facebook/s2t-small-librispeech-asr")
10
 
11
  # Initialize LLM pipeline
12
  generator = pipeline("text-generation", model="microsoft/Phi-3-mini-4k-instruct")
 
6
  import soundfile as sf
7
 
8
  # Initialize ASR pipeline
9
+ transcriber = pipeline("automatic-speech-recognition", model="facebook/s2t-small-librispeech-asr", trust_remote_code=True)
10
 
11
  # Initialize LLM pipeline
12
  generator = pipeline("text-generation", model="microsoft/Phi-3-mini-4k-instruct")