Spaces:
Build error
Build error
...
Browse files
app.py
CHANGED
@@ -82,12 +82,11 @@ with app:
|
|
82 |
with gr.Row():
|
83 |
tts_input1 = gr.TextArea(
|
84 |
label="θ―·θΎε
₯ζζ¬(δ»
ζ―ζζ₯θ―)", value="γγγ«γ‘γ―,δΈη!")
|
85 |
-
|
86 |
-
print(c_id)
|
87 |
tts_submit = gr.Button("η¨ζζ¬εζ", variant="primary")
|
88 |
tts_output2 = gr.Audio(label="Output")
|
89 |
# model_submit.click(load_model, [config_path, pth_path])
|
90 |
-
tts_submit.click(infer, [
|
91 |
gr.HTML("""
|
92 |
<div style="text-align:center">
|
93 |
<h4 class="h-sign" style="font-size: 12px;">
|
|
|
82 |
with gr.Row():
|
83 |
tts_input1 = gr.TextArea(
|
84 |
label="θ―·θΎε
₯ζζ¬(δ»
ζ―ζζ₯θ―)", value="γγγ«γ‘γ―,δΈη!")
|
85 |
+
c_name = gr.Radio([character_dict.keys()])
|
|
|
86 |
tts_submit = gr.Button("η¨ζζ¬εζ", variant="primary")
|
87 |
tts_output2 = gr.Audio(label="Output")
|
88 |
# model_submit.click(load_model, [config_path, pth_path])
|
89 |
+
tts_submit.click(infer, [character_dict[c_name], tts_input1], [tts_output2])
|
90 |
gr.HTML("""
|
91 |
<div style="text-align:center">
|
92 |
<h4 class="h-sign" style="font-size: 12px;">
|