seawolf2357 commited on
Commit
f819354
·
verified ·
1 Parent(s): 86c09bc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -3
app.py CHANGED
@@ -19,6 +19,16 @@ from denoiser.infer import denoise
19
 
20
  import gradio as gr
21
 
 
 
 
 
 
 
 
 
 
 
22
  def load_text(fp):
23
  with open(fp, 'r') as f:
24
  filelist = [line.strip() for line in f.readlines()]
@@ -229,9 +239,8 @@ def main():
229
  ["I am Marlon Brando of God Father. Be the change that you wish to see in the world", "./example/MarlonBrando.wav", 0.333,0.333, 1.0, 1.0, 0, 1111],
230
  ["I am Obama. Be the change that you wish to see in the world", "./example/obama.wav", 0.333,0.333, 1.0, 1.0, 0, 1111],
231
  ["I am Trump. Be the change that you wish to see in the world", "./example/trump.wav", 0.333,0.333, 1.0, 1.0, 0, 1111],
232
- ]
233
-
234
-
235
  )
236
  demo_play.launch()
237
 
 
19
 
20
  import gradio as gr
21
 
22
+ css = """
23
+ body {
24
+ font-family: 'Arial', sans-serif;
25
+ }
26
+ footer {
27
+ visibility: hidden;
28
+ }
29
+ /* 여기에 추가적인 CSS 스타일을 정의할 수 있습니다. */
30
+ """
31
+
32
  def load_text(fp):
33
  with open(fp, 'r') as f:
34
  filelist = [line.strip() for line in f.readlines()]
 
239
  ["I am Marlon Brando of God Father. Be the change that you wish to see in the world", "./example/MarlonBrando.wav", 0.333,0.333, 1.0, 1.0, 0, 1111],
240
  ["I am Obama. Be the change that you wish to see in the world", "./example/obama.wav", 0.333,0.333, 1.0, 1.0, 0, 1111],
241
  ["I am Trump. Be the change that you wish to see in the world", "./example/trump.wav", 0.333,0.333, 1.0, 1.0, 0, 1111],
242
+ ],
243
+ css=css
 
244
  )
245
  demo_play.launch()
246