Spaces:
Runtime error
Runtime error
RamAnanth1
commited on
Commit
·
58d76c4
1
Parent(s):
77ee213
Update app.py
Browse files
app.py
CHANGED
@@ -92,9 +92,10 @@ def get_transcript_url(url):
|
|
92 |
df = df.loc[:, ["text", "sentiment", "confidence"]]
|
93 |
|
94 |
topic = transcription_result['iab_categories_result']['summary']
|
95 |
-
|
96 |
df_topic = pd.DataFrame(topic)
|
97 |
|
|
|
98 |
return transcription_result['text'], transcription_result['summary'], df, df_topic.head(3)
|
99 |
|
100 |
# def get_transcript_file(filename):
|
|
|
92 |
df = df.loc[:, ["text", "sentiment", "confidence"]]
|
93 |
|
94 |
topic = transcription_result['iab_categories_result']['summary']
|
95 |
+
print(topic)
|
96 |
df_topic = pd.DataFrame(topic)
|
97 |
|
98 |
+
|
99 |
return transcription_result['text'], transcription_result['summary'], df, df_topic.head(3)
|
100 |
|
101 |
# def get_transcript_file(filename):
|