Update app.py
Browse files
app.py
CHANGED
@@ -110,8 +110,8 @@ async def generate1(prompt, language_code):
|
|
110 |
yield tmp_path
|
111 |
|
112 |
with gr.Blocks(css="style.css") as demo:
|
113 |
-
gr.Markdown(""" # <img src='https://huggingface.co/spaces/Isidorophp/Magic-with-Hermione-Granger/resolve/main/logo.png' alt='RJP DEV STUDIO logo' style='height:60px;'>"""
|
114 |
-
|
115 |
### <center>I suggest, you ask me for a Spell :</center>
|
116 |
""")
|
117 |
|
@@ -125,7 +125,6 @@ with gr.Blocks(css="style.css") as demo:
|
|
125 |
with gr.Tab("Write to Hermione"):
|
126 |
with gr.Row():
|
127 |
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...?")
|
128 |
-
input_text = gr.Textbox(label="Input Text", elem_id="important")
|
129 |
output_audio = gr.Audio(label="Hermione", type="filepath", interactive=False, autoplay=True, elem_classes="audio")
|
130 |
with gr.Row():
|
131 |
translate_btn = gr.Button("Response")
|
|
|
110 |
yield tmp_path
|
111 |
|
112 |
with gr.Blocks(css="style.css") as demo:
|
113 |
+
gr.Markdown(""" # <img src='https://huggingface.co/spaces/Isidorophp/Magic-with-Hermione-Granger/resolve/main/logo.png' alt='RJP DEV STUDIO logo' style='height:60px;'> """
|
114 |
+
""" # <center><b> Hermione Granger 🧖♀️ ⚡🪄</b></center>
|
115 |
### <center>I suggest, you ask me for a Spell :</center>
|
116 |
""")
|
117 |
|
|
|
125 |
with gr.Tab("Write to Hermione"):
|
126 |
with gr.Row():
|
127 |
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...?")
|
|
|
128 |
output_audio = gr.Audio(label="Hermione", type="filepath", interactive=False, autoplay=True, elem_classes="audio")
|
129 |
with gr.Row():
|
130 |
translate_btn = gr.Button("Response")
|