Luigi commited on
Commit
9a50e6b
·
1 Parent(s): eafac89

use local audio prompt file

Browse files
Files changed (3) hide show
  1. .gitattributes +1 -0
  2. app.py +3 -3
  3. jfk.wav +3 -0
.gitattributes ADDED
@@ -0,0 +1 @@
 
 
1
+ *.wav filter=lfs diff=lfs merge=lfs -text
app.py CHANGED
@@ -270,9 +270,9 @@ def create_gradio_interface():
270
 
271
  gr.Examples(
272
  examples=[
273
- ["I have a dream that one day this nation will rise up and live out the true meaning of its creed.", "https://github.com/ggml-org/whisper.cpp/raw/refs/heads/master/samples/jfk.wav", "ask not what your country can do for you, ask what you can do for your country", "zipvoice", 1.0],
274
- ["今天天氣真好,我們去公園散步吧!", "https://github.com/ggml-org/whisper.cpp/raw/refs/heads/master/samples/jfk.wav", "ask not what your country can do for you, ask what you can do for your country", "zipvoice", 1.0],
275
- ["The quick brown fox jumps over the lazy dog.", "https://github.com/ggml-org/whisper.cpp/raw/refs/heads/master/samples/jfk.wav", "ask not what your country can do for you, ask what you can do for your country", "zipvoice_distill", 1.2],
276
  ],
277
  inputs=[text_input, prompt_audio, prompt_text, model_dropdown, speed_slider],
278
  label="Quick Examples"
 
270
 
271
  gr.Examples(
272
  examples=[
273
+ ["I have a dream that one day this nation will rise up and live out the true meaning of its creed.", "jfk.wav", "ask not what your country can do for you, ask what you can do for your country", "zipvoice", 1.0],
274
+ ["今天天氣真好,我們去公園散步吧!", "jfk.wav", "ask not what your country can do for you, ask what you can do for your country", "zipvoice", 1.0],
275
+ ["The quick brown fox jumps over the lazy dog.", "jfk.wav", "ask not what your country can do for you, ask what you can do for your country", "zipvoice_distill", 1.2],
276
  ],
277
  inputs=[text_input, prompt_audio, prompt_text, model_dropdown, speed_slider],
278
  label="Quick Examples"
jfk.wav ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:59dfb9a4acb36fe2a2affc14bacbee2920ff435cb13cc314a08c13f66ba7860e
3
+ size 352078