rajistics commited on
Commit
ca70944
1 Parent(s): 89d6376

updated textbox default value

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -77,7 +77,7 @@ with demo:
77
  with gr.Row():
78
  b1 = gr.Button("Recognize Speech")
79
  with gr.Row():
80
- text = gr.Textbox(value="US retail sales fell in May for the first time in five months, restrained by a plunge in auto purchases and other big-ticket items, 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 vehicles, sales rose 0.5% last month. The figures aren’t adjusted for inflation.")
81
  b1.click(speech_to_text, inputs=audio_file, outputs=text)
82
  with gr.Row():
83
  b2 = gr.Button("Summarize Text")
 
77
  with gr.Row():
78
  b1 = gr.Button("Recognize Speech")
79
  with gr.Row():
80
+ 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.")
81
  b1.click(speech_to_text, inputs=audio_file, outputs=text)
82
  with gr.Row():
83
  b2 = gr.Button("Summarize Text")