Update app.py
Browse files
app.py
CHANGED
@@ -45,10 +45,10 @@ def parse(wav_file, applyLM):
|
|
45 |
else:
|
46 |
return parse_transcription(logits)
|
47 |
|
48 |
-
|
49 |
#model_id = "aditii09/hc_hindi_asr"
|
50 |
#model_id= "Harveenchadha/vakyansh-wav2vec2-hindi-him-4200"
|
51 |
-
|
52 |
processor = Wav2Vec2Processor.from_pretrained(model_id)
|
53 |
processor_with_LM = Wav2Vec2ProcessorWithLM.from_pretrained(model_id)
|
54 |
model = Wav2Vec2ForCTC.from_pretrained(model_id)
|
|
|
45 |
else:
|
46 |
return parse_transcription(logits)
|
47 |
|
48 |
+
model_id= "aditii09/hindi_asr_di"
|
49 |
#model_id = "aditii09/hc_hindi_asr"
|
50 |
#model_id= "Harveenchadha/vakyansh-wav2vec2-hindi-him-4200"
|
51 |
+
|
52 |
processor = Wav2Vec2Processor.from_pretrained(model_id)
|
53 |
processor_with_LM = Wav2Vec2ProcessorWithLM.from_pretrained(model_id)
|
54 |
model = Wav2Vec2ForCTC.from_pretrained(model_id)
|