Spaces:
Build error
Build error
updated textbox default value
Browse files
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
|
| 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")
|