aditii09 commited on
Commit
49c491a
1 Parent(s): 0d6dace

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- model_id= "aditii09/hindi_asr_di"
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)