snackshell commited on
Commit
fcbbf4a
Β·
verified Β·
1 Parent(s): 1351d4e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +11 -3
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("<center><h1>Amharic Text-to-Speech</h1></center>")
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)