Spaces:
Edmond98
/
Running on A100

Afrinetwork7 commited on
Commit
93c1403
1 Parent(s): 488f2ba

Update asr.py

Browse files
Files changed (1) hide show
  1. asr.py +0 -6
asr.py CHANGED
@@ -71,9 +71,3 @@ ASR_EXAMPLES = [
71
  # ["upload/tamil.mp3", "tam (Tamil)"],
72
  # ["upload/burmese.mp3", "mya (Burmese)"],
73
  ]
74
-
75
- if __name__ == "__main__":
76
- for audio_file, language in ASR_EXAMPLES:
77
- print(f"Transcribing {audio_file} in {language}")
78
- transcription = transcribe(audio_file, language)
79
- print(f"Transcription: {transcription}\n")
 
71
  # ["upload/tamil.mp3", "tam (Tamil)"],
72
  # ["upload/burmese.mp3", "mya (Burmese)"],
73
  ]