Teapack1 commited on
Commit
e303f20
1 Parent(s): eb7a9c3

Rename app.py to _app.py

Browse files
Files changed (1) hide show
  1. app.py → _app.py +1 -1
app.py → _app.py RENAMED
@@ -6,7 +6,7 @@ import gradio as gr
6
  asr_model = "openai/whisper-tiny.en"
7
  nlp_model = "MoritzLaurer/DeBERTa-v3-base-mnli-fever-anli"
8
 
9
- pipe = pipeline("automatic-speech-recognition", model=model_id, device=device)
10
  sampling_rate = pipe.feature_extractor.sampling_rate
11
 
12
  chunk_length_s = 10 # how often returns the text
 
6
  asr_model = "openai/whisper-tiny.en"
7
  nlp_model = "MoritzLaurer/DeBERTa-v3-base-mnli-fever-anli"
8
 
9
+ pipe = pipeline("automatic-speech-recognition", model=asr_model, device=device)
10
  sampling_rate = pipe.feature_extractor.sampling_rate
11
 
12
  chunk_length_s = 10 # how often returns the text