SamuelM0422 commited on
Commit
cce7a51
·
verified ·
1 Parent(s): 6c4ee0a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -1,5 +1,9 @@
1
  import gradio as gr
2
- from helper_function import speech_to_speech_translation, examples
 
 
 
 
3
 
4
  demo = gr.Blocks()
5
 
 
1
  import gradio as gr
2
+ from helper_function import speech_to_speech_translation
3
+ from pathlib import Path
4
+
5
+ examples = list(Path('').glob('*mp3'))
6
+ examples.sort()
7
 
8
  demo = gr.Blocks()
9