Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -37,42 +37,18 @@ languages = [
|
|
37 |
"ko", "hi"
|
38 |
]
|
39 |
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
model_sharing_iface.launch()
|
54 |
-
|
55 |
-
# Combine the two interfaces
|
56 |
-
iface = gr.Interface(
|
57 |
-
fn=clone,
|
58 |
-
inputs=[
|
59 |
-
gr.components.Text("", label="the text to be said"),
|
60 |
-
gr.components.Text("", label="URL of the zip file with the dataset on hf.co (10 seconds is fine)"),
|
61 |
-
gr.Dropdown(choices=languages, label="Language")
|
62 |
-
],
|
63 |
-
outputs=gr.Audio(type='filepath'),
|
64 |
-
title='Voice Clone',
|
65 |
-
description="""
|
66 |
-
by [Angetyde](https://youtube.com/@Angetyde?si=7nusP31nTumIkPTF) and [Tony Assi](https://www.tonyassi.com/ )
|
67 |
-
use this colab with caution <3.
|
68 |
-
""",
|
69 |
-
theme=gr.themes.Base(primary_hue="teal", secondary_hue="teal", neutral_hue="slate"),
|
70 |
-
layout=gr.Box.vertical,
|
71 |
-
# Add the model sharing tab
|
72 |
-
children=[
|
73 |
-
iface,
|
74 |
-
gr.Blocks(model_sharing_tab)
|
75 |
-
]
|
76 |
-
)
|
77 |
|
78 |
iface.launch(share=True)
|
|
|
37 |
"ko", "hi"
|
38 |
]
|
39 |
|
40 |
+
iface = gr.Interface(fn=clone,
|
41 |
+
inputs=[
|
42 |
+
gr.components.Text("", label="the text to be said"),
|
43 |
+
gr.components.Text("", label="URL of the zip file with the dataset on hf.co (10 seconds is fine)"),
|
44 |
+
gr.Dropdown(choices=languages, label="Language")
|
45 |
+
],
|
46 |
+
outputs=gr.Audio(type='filepath'),
|
47 |
+
title='Voice Clone',
|
48 |
+
description="""
|
49 |
+
by [Angetyde](https://youtube.com/@Angetyde?si=7nusP31nTumIkPTF) and [Tony Assi](https://www.tonyassi.com/ )
|
50 |
+
use this colab with caution <3.
|
51 |
+
""",
|
52 |
+
theme=gr.themes.Base(primary_hue="teal", secondary_hue="teal", neutral_hue="slate"))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
|
54 |
iface.launch(share=True)
|