SajjadAyoubi commited on
Commit
785303e
1 Parent(s): 352eab8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -33,7 +33,6 @@ processor = Wav2Vec2Processor.from_pretrained(model_name)
33
  s2t = Speech2Text()
34
 
35
  def asr(path):
36
- print(path)
37
  return s2t(path)
38
 
39
  # themes="default", "huggingface", "seafoam", "grass", "peach"
@@ -42,4 +41,4 @@ gr.Interface(asr,
42
  outputs = gr.outputs.Textbox(label="Output Text"),
43
  title="Persian ASR using Wav2Vec 2.0",
44
  description = "This application displays transcribed text for given audio input",
45
- examples = [["Test_File1.wav"]], theme="grass").launch()
 
33
  s2t = Speech2Text()
34
 
35
  def asr(path):
 
36
  return s2t(path)
37
 
38
  # themes="default", "huggingface", "seafoam", "grass", "peach"
 
41
  outputs = gr.outputs.Textbox(label="Output Text"),
42
  title="Persian ASR using Wav2Vec 2.0",
43
  description = "This application displays transcribed text for given audio input",
44
+ examples = [["Test_File1.wav"]], theme="huggingface").launch()