Spaces:
Build error
Build error
fixed b2 error
Browse files
app.py
CHANGED
|
@@ -30,9 +30,9 @@ with demo:
|
|
| 30 |
text = gr.Textbox()
|
| 31 |
b1.click(speech_to_text, inputs=audio_file, outputs=text)
|
| 32 |
|
| 33 |
-
stext = gr.Textbox()
|
| 34 |
b2 = gr.Button("Summarize Text")
|
| 35 |
-
|
|
|
|
| 36 |
|
| 37 |
b3 = gr.Button("Classify Sentiment")
|
| 38 |
label = gr.Label()
|
|
|
|
| 30 |
text = gr.Textbox()
|
| 31 |
b1.click(speech_to_text, inputs=audio_file, outputs=text)
|
| 32 |
|
|
|
|
| 33 |
b2 = gr.Button("Summarize Text")
|
| 34 |
+
stext = gr.Textbox()
|
| 35 |
+
b2.click(summarize_text, inputs=text, outputs=stext)
|
| 36 |
|
| 37 |
b3 = gr.Button("Classify Sentiment")
|
| 38 |
label = gr.Label()
|