Spaces:
Runtime error
Runtime error
Commit
·
56f68b3
1
Parent(s):
f94269e
Update app.py
Browse files
app.py
CHANGED
|
@@ -230,9 +230,7 @@ with gr.Blocks() as demo:
|
|
| 230 |
topic_detection = gr.Dataframe(label = "Topic Detection Result" )
|
| 231 |
|
| 232 |
|
| 233 |
-
inputs.submit(get_transcript_url, [inputs], [transcript, summary, sentiment_analysis, topic_detection])
|
| 234 |
b1.click(get_transcript_url, [inputs], [transcript, summary, sentiment_analysis,topic_detection])
|
| 235 |
-
b2.click(get_audio_from_upload, audio_input)
|
| 236 |
|
| 237 |
examples = gr.Examples(examples = [["audio.mp3"]], inputs = inputs, outputs=[transcript, summary, sentiment_analysis, topic_detection], cache_examples = True, fn = get_transcript_url)
|
| 238 |
|
|
|
|
| 230 |
topic_detection = gr.Dataframe(label = "Topic Detection Result" )
|
| 231 |
|
| 232 |
|
|
|
|
| 233 |
b1.click(get_transcript_url, [inputs], [transcript, summary, sentiment_analysis,topic_detection])
|
|
|
|
| 234 |
|
| 235 |
examples = gr.Examples(examples = [["audio.mp3"]], inputs = inputs, outputs=[transcript, summary, sentiment_analysis, topic_detection], cache_examples = True, fn = get_transcript_url)
|
| 236 |
|