Update app.py
Browse files
app.py
CHANGED
@@ -152,6 +152,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
152 |
user_input = gr.Textbox(label="Your Question", value="If there is any spell to encapsulate you as an asset, where Hermione is to everyone's favorite magical trio, it has to be...?")
|
153 |
input_text = gr.Textbox(label="Input Text", elem_id="important")
|
154 |
output_audio = gr.Audio(label="Hermione", type="filepath", interactive=False, autoplay=True, elem_classes="audio")
|
|
|
155 |
translate_btn = gr.Button("Response")
|
156 |
translate_btn.click(fn=generate1, inputs=[user_input, gr.Dropdown(choices=list(Female_language_dict.keys()), value="English (UK)-Maisie- (Female)" , label="Select Voice for Hermione")], outputs=output_audio, api_name="translate")
|
157 |
|
|
|
152 |
user_input = gr.Textbox(label="Your Question", value="If there is any spell to encapsulate you as an asset, where Hermione is to everyone's favorite magical trio, it has to be...?")
|
153 |
input_text = gr.Textbox(label="Input Text", elem_id="important")
|
154 |
output_audio = gr.Audio(label="Hermione", type="filepath", interactive=False, autoplay=True, elem_classes="audio")
|
155 |
+
with gr.Row():
|
156 |
translate_btn = gr.Button("Response")
|
157 |
translate_btn.click(fn=generate1, inputs=[user_input, gr.Dropdown(choices=list(Female_language_dict.keys()), value="English (UK)-Maisie- (Female)" , label="Select Voice for Hermione")], outputs=output_audio, api_name="translate")
|
158 |
|