Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ from share_btn import community_icon_html, loading_icon_html, share_js
|
|
8 |
|
9 |
model = whisper.load_model("small")
|
10 |
wikipedia.set_lang("en")
|
11 |
-
passage = wikipedia.summary("
|
12 |
|
13 |
|
14 |
|
@@ -173,6 +173,7 @@ with block:
|
|
173 |
"""
|
174 |
)
|
175 |
with gr.Group():
|
|
|
176 |
with gr.Box():
|
177 |
with gr.Row().style(mobile_collapse=False, equal_height=True):
|
178 |
audio = gr.Audio(
|
|
|
8 |
|
9 |
model = whisper.load_model("small")
|
10 |
wikipedia.set_lang("en")
|
11 |
+
passage = wikipedia.summary("platypus", sentences=3)
|
12 |
|
13 |
|
14 |
|
|
|
173 |
"""
|
174 |
)
|
175 |
with gr.Group():
|
176 |
+
gr.Textbox(value=passage)
|
177 |
with gr.Box():
|
178 |
with gr.Row().style(mobile_collapse=False, equal_height=True):
|
179 |
audio = gr.Audio(
|