Devity4756 commited on
Commit
892e7f6
·
verified ·
1 Parent(s): b5f5eda

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -10
app.py CHANGED
@@ -14,7 +14,7 @@ def clone(text, audio):
14
  return "./output.wav"
15
 
16
  iface = gr.Interface(fn=clone,
17
- inputs=[gr.Textbox(label='Text'),gr.Audio(type='filepath', label='Voice reference audio file')],
18
  outputs=gr.Audio(type='filepath'),
19
  title='Voice Clone',
20
  description="""
@@ -25,16 +25,11 @@ iface = gr.Interface(fn=clone,
25
  ### If you like voice clone then try [Video Face Swap](https://huggingface.co/spaces/tonyassi/video-face-swap)!
26
 
27
  ---
28
-
29
  This space uses xtts_v2 model. Non-commercial use only. [Coqui Public Model License](https://coqui.ai/cpml)
30
-
31
  Please ❤️ this Space. <a href="mailto: tony.assi.media@gmail.com">Email me</a>.
32
  """,
33
- theme = gr.themes.Base(primary_hue="teal",secondary_hue="teal",neutral_hue="slate"),
34
- examples=[["Hey! It's me Dorthy, from the Wizard of Oz. Type in whatever you'd like me to say.","./audio/Wizard-of-Oz-Dorthy.wav"],
35
- ["It's me Vito Corleone, from the Godfather. Type in whatever you'd like me to say.","./audio/Godfather.wav"],
36
- ["Hey, it's me Paris Hilton. Type in whatever you'd like me to say.","./audio/Paris-Hilton.mp3"],
37
- ["Hey, it's me Megan Fox from Transformers. Type in whatever you'd like me to say.","./audio/Megan-Fox.mp3"],
38
- ["Hey there, it's me Jeff Goldblum. Type in whatever you'd like me to say.","./audio/Jeff-Goldblum.mp3"],
39
- ["Hey there, it's me Heath Ledger as the Joker. Type in whatever you'd like me to say.","./audio/Heath-Ledger.mp3"],])
40
  iface.launch()
 
14
  return "./output.wav"
15
 
16
  iface = gr.Interface(fn=clone,
17
+ inputs=[gr.Textbox(label='Text'), gr.Audio(type='filepath', label='Voice reference audio file')],
18
  outputs=gr.Audio(type='filepath'),
19
  title='Voice Clone',
20
  description="""
 
25
  ### If you like voice clone then try [Video Face Swap](https://huggingface.co/spaces/tonyassi/video-face-swap)!
26
 
27
  ---
28
+
29
  This space uses xtts_v2 model. Non-commercial use only. [Coqui Public Model License](https://coqui.ai/cpml)
30
+
31
  Please ❤️ this Space. <a href="mailto: tony.assi.media@gmail.com">Email me</a>.
32
  """,
33
+ theme=gr.themes.Base(primary_hue="teal",secondary_hue="teal",neutral_hue="slate")
34
+ )
 
 
 
 
 
35
  iface.launch()