Update app.py
Browse files
app.py
CHANGED
@@ -134,6 +134,7 @@ with gr.Blocks(css="style.css") as demo:
|
|
134 |
### <center>An Artificial Intelligence Assistant just for YOU:
|
135 |
### <center>Now you can Ask for a spell to Hermione</center>
|
136 |
""")
|
|
|
137 |
# Use for the Selection of voice for Hermione
|
138 |
#with gr.Row():
|
139 |
# language_code = gr.Dropdown(choices=list(Female_language_dict.keys()), label="Select Voice for Hermione")
|
@@ -144,7 +145,6 @@ with gr.Blocks(css="style.css") as demo:
|
|
144 |
output = gr.Audio(label="Hermione", type="filepath", interactive=False, autoplay=True, elem_classes="audio")
|
145 |
gr.Interface(fn=respond, inputs=input, outputs=output, live=False)
|
146 |
|
147 |
-
|
148 |
|
149 |
with gr.Row():
|
150 |
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...?")
|
|
|
134 |
### <center>An Artificial Intelligence Assistant just for YOU:
|
135 |
### <center>Now you can Ask for a spell to Hermione</center>
|
136 |
""")
|
137 |
+
|
138 |
# Use for the Selection of voice for Hermione
|
139 |
#with gr.Row():
|
140 |
# language_code = gr.Dropdown(choices=list(Female_language_dict.keys()), label="Select Voice for Hermione")
|
|
|
145 |
output = gr.Audio(label="Hermione", type="filepath", interactive=False, autoplay=True, elem_classes="audio")
|
146 |
gr.Interface(fn=respond, inputs=input, outputs=output, live=False)
|
147 |
|
|
|
148 |
|
149 |
with gr.Row():
|
150 |
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...?")
|