Skip to content

Commit

Permalink
small updates label audios
Browse files Browse the repository at this point in the history
  • Loading branch information
lpscr committed Oct 21, 2024
1 parent 2a8dfc2 commit 417939e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions finetune_gradio.py
Original file line number Diff line number Diff line change
Expand Up @@ -905,13 +905,13 @@ def infer(project_name, file_checkpoint, exp_name, ref_text, ref_audio, gen_text
random_sample_infer = gr.Button("random sample")

ref_text = gr.Textbox(label="ref text")
ref_audio = gr.Audio("audio ref", type="filepath")
ref_audio = gr.Audio(label="audio ref", type="filepath")
gen_text = gr.Textbox(label="gen text")
random_sample_infer.click(
fn=get_random_sample_infer, inputs=[project_name], outputs=[ref_text, gen_text, ref_audio]
)
check_button_infer = gr.Button("infer")
gen_audio = gr.Audio("audio ref", type="filepath")
gen_audio = gr.Audio(label="audio gen", type="filepath")

check_button_infer.click(
fn=infer,
Expand Down

0 comments on commit 417939e

Please sign in to comment.