Spaces:
Runtime error
Runtime error
Commit
·
787f1f7
1
Parent(s):
deb1220
Update app.py
Browse files
app.py
CHANGED
|
@@ -39,7 +39,7 @@ def get_transcript_sentiment(url):
|
|
| 39 |
return df
|
| 40 |
|
| 41 |
|
| 42 |
-
|
| 43 |
title = 'Detect the sentiment of transcript content',
|
| 44 |
description = "Paste the URL of an audio file (mp3) into the box and get the sentiment",
|
| 45 |
fn = get_transcript_sentiment,
|
|
|
|
| 39 |
return df
|
| 40 |
|
| 41 |
|
| 42 |
+
with gr.Blocks() as demo:
|
| 43 |
title = 'Detect the sentiment of transcript content',
|
| 44 |
description = "Paste the URL of an audio file (mp3) into the box and get the sentiment",
|
| 45 |
fn = get_transcript_sentiment,
|