Spaces:
Runtime error
Runtime error
Commit
•
b354fb1
1
Parent(s):
75aa583
Update app.py
Browse files
app.py
CHANGED
@@ -69,7 +69,7 @@ def transcribe(file,use_timestamps=True,sentiment_analysis=True):
|
|
69 |
av_dict = calculate_average(trans_dict)
|
70 |
fig = spider_chart(av_dict)
|
71 |
|
72 |
-
return
|
73 |
|
74 |
embed_html = '<iframe src="https://www.youtube.com/embed/YOUTUBE_ID'\
|
75 |
'title="YouTube video player" frameborder="0" allow="accelerometer;'\
|
@@ -123,7 +123,7 @@ with gr.Blocks() as demo:
|
|
123 |
with gr.Column():
|
124 |
gr.Interface(title = title, fn=transcribe, inputs = inputs, outputs = outputs,
|
125 |
description=description, cache_examples=True, allow_flagging="never", article = article,
|
126 |
-
examples=
|
127 |
|
128 |
|
129 |
demo.queue(concurrency_count=3)
|
|
|
69 |
av_dict = calculate_average(trans_dict)
|
70 |
fig = spider_chart(av_dict)
|
71 |
|
72 |
+
return text, fig, av_dict
|
73 |
|
74 |
embed_html = '<iframe src="https://www.youtube.com/embed/YOUTUBE_ID'\
|
75 |
'title="YouTube video player" frameborder="0" allow="accelerometer;'\
|
|
|
123 |
with gr.Column():
|
124 |
gr.Interface(title = title, fn=transcribe, inputs = inputs, outputs = outputs,
|
125 |
description=description, cache_examples=True, allow_flagging="never", article = article,
|
126 |
+
examples='examples')
|
127 |
|
128 |
|
129 |
demo.queue(concurrency_count=3)
|