Jiedong Yang commited on
Commit
b529762
β€’
1 Parent(s): 8973ffd

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -5
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 (Currently English Only)
147
  3. Summarize the transcribed speech
148
- 4. A little wordcloud for you as well
 
 
 
 
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