Update app.py
Browse files
app.py
CHANGED
@@ -165,13 +165,7 @@ with gr.Blocks(css=css) as demo:
|
|
165 |
visible = False
|
166 |
)
|
167 |
|
168 |
-
|
169 |
-
<div class="footer">
|
170 |
-
<p>
|
171 |
-
Instant Voice Cloning Demo by 🤗 <a href="https://twitter.com/fffiloni" target="_blank">Sylvain Filoni</a>
|
172 |
-
</p>
|
173 |
-
</div>
|
174 |
-
""")
|
175 |
|
176 |
gr.Examples(
|
177 |
examples = [
|
@@ -195,6 +189,14 @@ with gr.Blocks(css=css) as demo:
|
|
195 |
npz_file
|
196 |
]
|
197 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
198 |
|
199 |
submit_btn.click(
|
200 |
fn = infer,
|
@@ -206,7 +208,8 @@ with gr.Blocks(css=css) as demo:
|
|
206 |
cloned_out,
|
207 |
video_out,
|
208 |
npz_file
|
209 |
-
]
|
|
|
210 |
)
|
211 |
|
212 |
demo.queue(max_size=20).launch()
|
|
|
165 |
visible = False
|
166 |
)
|
167 |
|
168 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
169 |
|
170 |
gr.Examples(
|
171 |
examples = [
|
|
|
189 |
npz_file
|
190 |
]
|
191 |
)
|
192 |
+
|
193 |
+
gr.HTML("""
|
194 |
+
<div class="footer">
|
195 |
+
<p>
|
196 |
+
Instant Voice Cloning Demo by 🤗 <a href="https://twitter.com/fffiloni" target="_blank">Sylvain Filoni</a>
|
197 |
+
</p>
|
198 |
+
</div>
|
199 |
+
""")
|
200 |
|
201 |
submit_btn.click(
|
202 |
fn = infer,
|
|
|
208 |
cloned_out,
|
209 |
video_out,
|
210 |
npz_file
|
211 |
+
],
|
212 |
+
cache_examples = True
|
213 |
)
|
214 |
|
215 |
demo.queue(max_size=20).launch()
|