poemsforaphrodite commited on
Commit
9c0d38a
1 Parent(s): 396e7de

Upload openvoice_app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. openvoice_app.py +3 -9
openvoice_app.py CHANGED
@@ -91,15 +91,9 @@ def predict(prompt, style, audio_file_pth):
91
 
92
  title = "MyShell OpenVoice"
93
 
94
- class WhiteTheme(gr.themes.Base):
95
- def __init__(self):
96
- super().__init__()
97
- self.body_background = "white"
98
- self.block_background = "white"
99
- self.text_color = "black"
100
- self.secondary_text_color = "black"
101
-
102
- with gr.Blocks(theme=WhiteTheme()) as demo:
103
  with gr.Row():
104
  with gr.Column():
105
  input_text_gr = gr.Textbox(
 
91
 
92
  title = "MyShell OpenVoice"
93
 
94
+
95
+
96
+ with gr.Blocks(gr.themes.Glass()) as demo:
 
 
 
 
 
 
97
  with gr.Row():
98
  with gr.Column():
99
  input_text_gr = gr.Textbox(