Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -76,9 +76,7 @@ with gr.Blocks() as blocks:
|
|
76 |
#gr.Markdown(description)
|
77 |
with gr.Row(equal_height=True):# equal_height=False
|
78 |
with gr.Column():# variant="panel"
|
79 |
-
|
80 |
-
value=default_lang
|
81 |
-
)
|
82 |
audio_file = gr.inputs.Audio(source="microphone", type="filepath")
|
83 |
custom_token = gr.Textbox(label='If it fails, use your own session token', placeholder="your own session token")
|
84 |
with gr.Row():# mobile_collapse=False
|
@@ -95,7 +93,7 @@ with gr.Blocks() as blocks:
|
|
95 |
# actions
|
96 |
submit.click(
|
97 |
chat_hf,
|
98 |
-
[audio_file, custom_token
|
99 |
[text1, text2, audio],
|
100 |
)
|
101 |
#radio.change(lambda lang: CoquiTTS.langs[lang]["sentence"], radio, text2)
|
|
|
76 |
#gr.Markdown(description)
|
77 |
with gr.Row(equal_height=True):# equal_height=False
|
78 |
with gr.Column():# variant="panel"
|
79 |
+
|
|
|
|
|
80 |
audio_file = gr.inputs.Audio(source="microphone", type="filepath")
|
81 |
custom_token = gr.Textbox(label='If it fails, use your own session token', placeholder="your own session token")
|
82 |
with gr.Row():# mobile_collapse=False
|
|
|
93 |
# actions
|
94 |
submit.click(
|
95 |
chat_hf,
|
96 |
+
[audio_file, custom_token],
|
97 |
[text1, text2, audio],
|
98 |
)
|
99 |
#radio.change(lambda lang: CoquiTTS.langs[lang]["sentence"], radio, text2)
|