Spaces:
Runtime error
Runtime error
Commit
·
8e8bf44
1
Parent(s):
00d939d
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,14 +42,14 @@ def get_transcript_sentiment(url):
|
|
| 42 |
|
| 43 |
demo = gr.Interface(
|
| 44 |
fn=get_transcript_sentiment,
|
| 45 |
-
inputs=
|
| 46 |
outputs="text",
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
|
|
|
|
|
|
| 50 |
)
|
| 51 |
|
| 52 |
|
| 53 |
-
demo.launch
|
| 54 |
-
|
| 55 |
-
|
|
|
|
| 42 |
|
| 43 |
demo = gr.Interface(
|
| 44 |
fn=get_transcript_sentiment,
|
| 45 |
+
inputs="text",
|
| 46 |
outputs="text",
|
| 47 |
+
#inputs=gr.Textbox(lines=2, placeholder="MP3 URL here"),
|
| 48 |
+
#outputs="text",
|
| 49 |
+
#title='Detect the sentiment of transcript content',
|
| 50 |
+
#description="Paste the URL of an audio file (mp3) into the box and get the sentiment",
|
| 51 |
+
cache_examples=False,
|
| 52 |
)
|
| 53 |
|
| 54 |
|
| 55 |
+
demo.launch()
|
|
|
|
|
|