Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -159,7 +159,7 @@ with gr.Blocks() as demo:
|
|
159 |
pwd_window = gr.Textbox(label = "Password")
|
160 |
pwd_window.blur(updatePassword, pwd_window, [password, pwd_window])
|
161 |
with gr.Row():
|
162 |
-
audio_widget = gr.Audio(type='filepath', format='
|
163 |
show_recording_waveform=True), sources=['microphone'], scale = 3, label="Prompt/Question Voice Entry", max_length=120)
|
164 |
reset_button = gr.ClearButton(value="Reset Voice Entry", scale=1) #new_func1()
|
165 |
with gr.Row():
|
|
|
159 |
pwd_window = gr.Textbox(label = "Password")
|
160 |
pwd_window.blur(updatePassword, pwd_window, [password, pwd_window])
|
161 |
with gr.Row():
|
162 |
+
audio_widget = gr.Audio(type='filepath', format='wav',waveform_options=gr.WaveformOptions(
|
163 |
show_recording_waveform=True), sources=['microphone'], scale = 3, label="Prompt/Question Voice Entry", max_length=120)
|
164 |
reset_button = gr.ClearButton(value="Reset Voice Entry", scale=1) #new_func1()
|
165 |
with gr.Row():
|