Update app.py
Browse files
app.py
CHANGED
@@ -116,7 +116,7 @@ with gr.Blocks(gr.themes.Citrus()) as demo:
|
|
116 |
user_voice = gr.Dropdown(choices=list(Female_language_dict.keys()), value="English (UK)-Maisie- (Female)" , label="Select Voice for Hermione")
|
117 |
user_input = gr.TextArea(label="Your Question", scale=1, value="If there is any spell to encapsulate you as a piece of the cog, where Hermione is to everyone's favorite magical trio, it has to be...?")
|
118 |
output_audio = gr.Audio(label="Hermione's Response", type="filepath", interactive=False, autoplay=True, scale=1, elem_classes="audio")
|
119 |
-
with gr.Row():
|
120 |
translate_btn = gr.Button("Submit")
|
121 |
translate_btn.click(fn=generate1, inputs=[user_voice, user_input], outputs=output_audio, api_name="translate")
|
122 |
|
|
|
116 |
user_voice = gr.Dropdown(choices=list(Female_language_dict.keys()), value="English (UK)-Maisie- (Female)" , label="Select Voice for Hermione")
|
117 |
user_input = gr.TextArea(label="Your Question", scale=1, value="If there is any spell to encapsulate you as a piece of the cog, where Hermione is to everyone's favorite magical trio, it has to be...?")
|
118 |
output_audio = gr.Audio(label="Hermione's Response", type="filepath", interactive=False, autoplay=True, scale=1, elem_classes="audio")
|
119 |
+
# with gr.Row():
|
120 |
translate_btn = gr.Button("Submit")
|
121 |
translate_btn.click(fn=generate1, inputs=[user_voice, user_input], outputs=output_audio, api_name="translate")
|
122 |
|