Spaces:
Runtime error
Runtime error
jiedong-yang
commited on
Commit
β’
d4e684d
1
Parent(s):
d743dcc
Update app.py
Browse files
app.py
CHANGED
@@ -143,7 +143,7 @@ with demo:
|
|
143 |
1. Type in a youtube URL or upload an audio file
|
144 |
2. Generate transcription with Whisper (English Only)
|
145 |
3. Summarize the transcribed speech
|
146 |
-
4. Generate summary
|
147 |
|
148 |
model references:
|
149 |
- [Whisper](https://github.com/openai/whisper), [ESPNet](https://github.com/espnet/espnet_model_zoo)
|
@@ -163,7 +163,7 @@ with demo:
|
|
163 |
|
164 |
examples = gr.Examples(examples=["https://www.youtube.com/watch?v=DuX4K4eeTz8",
|
165 |
"https://www.youtube.com/watch?v=nepOSEGHHCQ"],
|
166 |
-
inputs=[url])
|
167 |
|
168 |
# ASR
|
169 |
text = gr.Textbox(label="Transcription", placeholder="transcription")
|
|
|
143 |
1. Type in a youtube URL or upload an audio file
|
144 |
2. Generate transcription with Whisper (English Only)
|
145 |
3. Summarize the transcribed speech
|
146 |
+
4. Generate summary speech with the ESPNet model
|
147 |
|
148 |
model references:
|
149 |
- [Whisper](https://github.com/openai/whisper), [ESPNet](https://github.com/espnet/espnet_model_zoo)
|
|
|
163 |
|
164 |
examples = gr.Examples(examples=["https://www.youtube.com/watch?v=DuX4K4eeTz8",
|
165 |
"https://www.youtube.com/watch?v=nepOSEGHHCQ"],
|
166 |
+
inputs=[url], cache_examples=True)
|
167 |
|
168 |
# ASR
|
169 |
text = gr.Textbox(label="Transcription", placeholder="transcription")
|