Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -31,8 +31,16 @@ async def text_to_speech_edge(text, speaker):
|
|
31 |
raise gr.Error(error_msg)
|
32 |
|
33 |
with gr.Blocks(title="Amharic TTS") as demo:
|
34 |
-
gr.HTML("
|
35 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
with gr.Row():
|
37 |
with gr.Column():
|
38 |
input_text = gr.Textbox(lines=5, label="α¨α ααα α½αα",
|
@@ -54,4 +62,4 @@ with gr.Blocks(title="Amharic TTS") as demo:
|
|
54 |
)
|
55 |
|
56 |
if __name__ == "__main__":
|
57 |
-
demo.launch(server_port=7860, share=False)
|
|
|
31 |
raise gr.Error(error_msg)
|
32 |
|
33 |
with gr.Blocks(title="Amharic TTS") as demo:
|
34 |
+
gr.HTML("""
|
35 |
+
<style>
|
36 |
+
body { background-color: #1A2B50; color: white; }
|
37 |
+
h1 { color: #FFD700; text-align: center; }
|
38 |
+
.gradio-button { background-color: #FFD700 !important; color: #1A2B50 !important; }
|
39 |
+
.gradio-textbox, .gradio-dropdown { border-color: #FFD700 !important; }
|
40 |
+
</style>
|
41 |
+
<center><h1>Amharic Text-to-Speech</h1></center>
|
42 |
+
""")
|
43 |
+
|
44 |
with gr.Row():
|
45 |
with gr.Column():
|
46 |
input_text = gr.Textbox(lines=5, label="α¨α ααα α½αα",
|
|
|
62 |
)
|
63 |
|
64 |
if __name__ == "__main__":
|
65 |
+
demo.launch(server_port=7860, share=False)
|