Spaces:
Runtime error
Runtime error
Jiedong Yang
commited on
Commit
β’
b529762
1
Parent(s):
8973ffd
Upload app.py
Browse files
app.py
CHANGED
@@ -4,9 +4,6 @@ import whisper
|
|
4 |
import validators
|
5 |
import gradio as gr
|
6 |
|
7 |
-
import nltk
|
8 |
-
nltk.download()
|
9 |
-
|
10 |
from wordcloud import WordCloud, STOPWORDS
|
11 |
|
12 |
from scipy.io.wavfile import write
|
@@ -143,9 +140,13 @@ with demo:
|
|
143 |
[13 mins speech](https://www.youtube.com/watch?v=nepOSEGHHCQ)
|
144 |
|
145 |
1. Type in a youtube URL or upload an audio file
|
146 |
-
2. Generate transcription with Whisper (
|
147 |
3. Summarize the transcribed speech
|
148 |
-
4.
|
|
|
|
|
|
|
|
|
149 |
""")
|
150 |
|
151 |
# data preparation
|
|
|
4 |
import validators
|
5 |
import gradio as gr
|
6 |
|
|
|
|
|
|
|
7 |
from wordcloud import WordCloud, STOPWORDS
|
8 |
|
9 |
from scipy.io.wavfile import write
|
|
|
140 |
[13 mins speech](https://www.youtube.com/watch?v=nepOSEGHHCQ)
|
141 |
|
142 |
1. Type in a youtube URL or upload an audio file
|
143 |
+
2. Generate transcription with Whisper (English Only)
|
144 |
3. Summarize the transcribed speech
|
145 |
+
4. Generate summary's speech with ESPNet model
|
146 |
+
|
147 |
+
model references:
|
148 |
+
- [Whisper](https://github.com/openai/whisper)
|
149 |
+
- [ESPNet](https://github.com/espnet/espnet_model_zoo)
|
150 |
""")
|
151 |
|
152 |
# data preparation
|