Harveenchadha
commited on
Commit
•
2984fe4
1
Parent(s):
0b3eab8
Update app.py
Browse files
app.py
CHANGED
@@ -41,10 +41,7 @@ def parse_transcription(wav_file):
|
|
41 |
processor = Wav2Vec2Processor.from_pretrained("Harveenchadha/vakyansh-wav2vec2-hindi-him-4200")
|
42 |
model = Wav2Vec2ForCTC.from_pretrained("Harveenchadha/vakyansh-wav2vec2-hindi-him-4200")
|
43 |
|
44 |
-
|
45 |
|
46 |
-
processor = Wav2Vec2Processor.from_pretrained("Harveenchadha/vakyansh-wav2vec2-hindi-him-4200")
|
47 |
-
model = Wav2Vec2ForCTC.from_pretrained("Harveenchadha/vakyansh-wav2vec2-hindi-him-4200")
|
48 |
|
49 |
#input_ = gr.inputs.Audio(source="microphone", type="file")
|
50 |
input_ = gr.inputs.Audio(source="microphone", type="numpy")
|
|
|
41 |
processor = Wav2Vec2Processor.from_pretrained("Harveenchadha/vakyansh-wav2vec2-hindi-him-4200")
|
42 |
model = Wav2Vec2ForCTC.from_pretrained("Harveenchadha/vakyansh-wav2vec2-hindi-him-4200")
|
43 |
|
|
|
44 |
|
|
|
|
|
45 |
|
46 |
#input_ = gr.inputs.Audio(source="microphone", type="file")
|
47 |
input_ = gr.inputs.Audio(source="microphone", type="numpy")
|