Spaces:
Running
Running
ITS-C4SF733\Administrator
commited on
Commit
·
e433fc3
1
Parent(s):
f97cfb4
fix bug
Browse files- app.py +2 -2
- requirements.txt +1 -1
app.py
CHANGED
@@ -409,8 +409,8 @@ def main():
|
|
409 |
textbox_transcript2 = gr.TextArea(label="Transcript",
|
410 |
placeholder="Write transcript here. (leave empty to use whisper)",
|
411 |
value="", elem_id=f"prompt-name")
|
412 |
-
upload_audio_prompt_2 = gr.Audio(label='uploaded audio prompt',
|
413 |
-
record_audio_prompt_2 = gr.Audio(label='recorded audio prompt',
|
414 |
interactive=True)
|
415 |
with gr.Column():
|
416 |
text_output_2 = gr.Textbox(label="Message")
|
|
|
409 |
textbox_transcript2 = gr.TextArea(label="Transcript",
|
410 |
placeholder="Write transcript here. (leave empty to use whisper)",
|
411 |
value="", elem_id=f"prompt-name")
|
412 |
+
upload_audio_prompt_2 = gr.Audio(label='uploaded audio prompt', sources='upload', interactive=True)
|
413 |
+
record_audio_prompt_2 = gr.Audio(label='recorded audio prompt', sources='microphone',
|
414 |
interactive=True)
|
415 |
with gr.Column():
|
416 |
text_output_2 = gr.Textbox(label="Message")
|
requirements.txt
CHANGED
@@ -17,7 +17,7 @@ eng_to_ipa
|
|
17 |
openai-whisper
|
18 |
phonemizer==3.2.0
|
19 |
matplotlib
|
20 |
-
gradio
|
21 |
nltk
|
22 |
sudachipy
|
23 |
sudachidict_core
|
|
|
17 |
openai-whisper
|
18 |
phonemizer==3.2.0
|
19 |
matplotlib
|
20 |
+
gradio
|
21 |
nltk
|
22 |
sudachipy
|
23 |
sudachidict_core
|