ORI-Muchim commited on
Commit
8f47754
1 Parent(s): 99487b9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -138,13 +138,13 @@ if __name__ == '__main__':
138
  tts_input2 = gr.Dropdown(label="Speaker", choices=speakers,
139
  type="index", value=speakers[0])
140
  tts_input3 = gr.Slider(label="Speed", value=1, minimum=0.1, maximum=2, step=0.1)
141
- with gr.Accordion(label="Advanced Options", open=False):
142
- phoneme_input = gr.Checkbox(value=False, label="Phoneme input")
143
- to_phoneme_btn = gr.Button("Covert text to phoneme")
144
- phoneme_list = gr.Dataset(label="Phoneme list", components=[tts_input1],
145
- samples=[[x] for x in symbols],
146
- elem_id=f"phoneme-list{i}")
147
- phoneme_list_json = gr.Json(value=symbols, visible=False)
148
  tts_submit = gr.Button("Generate", variant="primary")
149
  tts_output1 = gr.Textbox(label="Output Message")
150
  tts_output2 = gr.Audio(label="Output Audio")
 
138
  tts_input2 = gr.Dropdown(label="Speaker", choices=speakers,
139
  type="index", value=speakers[0])
140
  tts_input3 = gr.Slider(label="Speed", value=1, minimum=0.1, maximum=2, step=0.1)
141
+ # with gr.Accordion(label="Advanced Options", open=False):
142
+ # phoneme_input = gr.Checkbox(value=False, label="Phoneme input")
143
+ # to_phoneme_btn = gr.Button("Covert text to phoneme")
144
+ # phoneme_list = gr.Dataset(label="Phoneme list", components=[tts_input1],
145
+ # samples=[[x] for x in symbols],
146
+ # elem_id=f"phoneme-list{i}")
147
+ # phoneme_list_json = gr.Json(value=symbols, visible=False)
148
  tts_submit = gr.Button("Generate", variant="primary")
149
  tts_output1 = gr.Textbox(label="Output Message")
150
  tts_output2 = gr.Audio(label="Output Audio")