Ngadou commited on
Commit
17c3241
1 Parent(s): 2ef4925

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -3,6 +3,9 @@ import time
3
  import openai
4
  import json
5
  import os
 
 
 
6
 
7
  openai.api_key = os.environ.get('OPENAI_KEY')
8
 
 
3
  import openai
4
  import json
5
  import os
6
+ from transformers import pipeline, AutoModelForSequenceClassification, AutoTokenizer
7
+
8
+ asr_pipeline = pipeline("automatic-speech-recognition", model="facebook/wav2vec2-large-robust-ft-libri-960h")
9
 
10
  openai.api_key = os.environ.get('OPENAI_KEY')
11