Spaces:
Runtime error
Runtime error
Commit
·
e56bee8
1
Parent(s):
37ca846
Update app.py
Browse files
app.py
CHANGED
|
@@ -49,7 +49,7 @@ with gr.Blocks() as demo:
|
|
| 49 |
)
|
| 50 |
with gr.Column(scale=1, min_width=800):
|
| 51 |
text_input = gr.Text(placeholder='MP3 URL here', label='URL')
|
| 52 |
-
df_output = gr.DataFrame(wrap=True, max_rows=10, headers=['
|
| 53 |
run_btn = gr.Button('Submit')
|
| 54 |
run_btn.click(fn=get_transcript_sentiment, inputs=text_input, outputs=df_output)
|
| 55 |
|
|
@@ -59,7 +59,7 @@ with gr.Blocks() as demo:
|
|
| 59 |
'''
|
| 60 |
)
|
| 61 |
gr.Examples(
|
| 62 |
-
[['https://archive-media2.granicus.com/OnDemand/sanfrancisco/
|
| 63 |
[text_input],
|
| 64 |
fn=get_transcript_sentiment,
|
| 65 |
label='Click to insert example URL'
|
|
|
|
| 49 |
)
|
| 50 |
with gr.Column(scale=1, min_width=800):
|
| 51 |
text_input = gr.Text(placeholder='MP3 URL here', label='URL')
|
| 52 |
+
df_output = gr.DataFrame(wrap=True, max_rows=10, headers=['transcript_sentence', 'label', 'score'])
|
| 53 |
run_btn = gr.Button('Submit')
|
| 54 |
run_btn.click(fn=get_transcript_sentiment, inputs=text_input, outputs=df_output)
|
| 55 |
|
|
|
|
| 59 |
'''
|
| 60 |
)
|
| 61 |
gr.Examples(
|
| 62 |
+
[['https://archive-media2.granicus.com/OnDemand/sanfrancisco/sanfrancisco_8c0f76b6-527a-4702-b117-ed40c1eb26fd.mp3']],
|
| 63 |
[text_input],
|
| 64 |
fn=get_transcript_sentiment,
|
| 65 |
label='Click to insert example URL'
|