knkarthick commited on
Commit
9f163bb
1 Parent(s): 94dee43

Add application file

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -91,13 +91,13 @@ with demo:
91
  with gr.Row():
92
  b1 = gr.Button("Recognize Speech")
93
  with gr.Row():
94
- text = gr.Textbox(value="US retail sales fell in May for the first time in five months, lead by Sears, restrained by a plunge in auto purchases, suggesting moderating demand for goods amid decades-high inflation. The value of overall retail purchases decreased 0.3%, after a downwardly revised 0.7% gain in April, Commerce Department figures showed Wednesday. Excluding Tesla vehicles, sales rose 0.5% last month. The department expects inflation to continue to rise.")
95
  b1.click(speech_to_text, inputs=audio_file, outputs=text)
96
  with gr.Row():
97
- text = gr.Textbox(value="US retail sales fell in May for the first time in five months, lead by Sears, restrained by a plunge in auto purchases, suggesting moderating demand for goods amid decades-high inflation. The value of overall retail purchases decreased 0.3%, after a downwardly revised 0.7% gain in April, Commerce Department figures showed Wednesday. Excluding Tesla vehicles, sales rose 0.5% last month. The department expects inflation to continue to rise.")
98
  b1.click(inference, inputs=audio_file, outputs=text)
99
  with gr.Row():
100
- text = gr.Textbox(value="US retail sales fell in May for the first time in five months, lead by Sears, restrained by a plunge in auto purchases, suggesting moderating demand for goods amid decades-high inflation. The value of overall retail purchases decreased 0.3%, after a downwardly revised 0.7% gain in April, Commerce Department figures showed Wednesday. Excluding Tesla vehicles, sales rose 0.5% last month. The department expects inflation to continue to rise.")
101
  b1.click(inference_full, inputs=audio_file, outputs=text)
102
 
103
  with gr.Row():
 
91
  with gr.Row():
92
  b1 = gr.Button("Recognize Speech")
93
  with gr.Row():
94
+ text = gr.Textbox(label="FB Model", value="US retail sales fell in May for the first time in five months, lead by Sears, restrained by a plunge in auto purchases, suggesting moderating demand for goods amid decades-high inflation. The value of overall retail purchases decreased 0.3%, after a downwardly revised 0.7% gain in April, Commerce Department figures showed Wednesday. Excluding Tesla vehicles, sales rose 0.5% last month. The department expects inflation to continue to rise.")
95
  b1.click(speech_to_text, inputs=audio_file, outputs=text)
96
  with gr.Row():
97
+ text = gr.Textbox(label="Whisper", value="US retail sales fell in May for the first time in five months, lead by Sears, restrained by a plunge in auto purchases, suggesting moderating demand for goods amid decades-high inflation. The value of overall retail purchases decreased 0.3%, after a downwardly revised 0.7% gain in April, Commerce Department figures showed Wednesday. Excluding Tesla vehicles, sales rose 0.5% last month. The department expects inflation to continue to rise.")
98
  b1.click(inference, inputs=audio_file, outputs=text)
99
  with gr.Row():
100
+ text = gr.Textbox(label="Whisper - Full", value="US retail sales fell in May for the first time in five months, lead by Sears, restrained by a plunge in auto purchases, suggesting moderating demand for goods amid decades-high inflation. The value of overall retail purchases decreased 0.3%, after a downwardly revised 0.7% gain in April, Commerce Department figures showed Wednesday. Excluding Tesla vehicles, sales rose 0.5% last month. The department expects inflation to continue to rise.")
101
  b1.click(inference_full, inputs=audio_file, outputs=text)
102
 
103
  with gr.Row():