Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ import os
|
|
13 |
from txtsplit import txtsplit
|
14 |
import numpy as np
|
15 |
import pickle
|
16 |
-
theme = gr.themes.Base(
|
17 |
font=[gr.themes.GoogleFont('Libre Franklin'), gr.themes.GoogleFont('Public Sans'), 'system-ui', 'sans-serif'],
|
18 |
)
|
19 |
|
@@ -163,7 +163,7 @@ with gr.Blocks() as lj:
|
|
163 |
ljbtn = gr.Button("Synthesize", variant="primary")
|
164 |
ljaudio = gr.Audio(interactive=False, label="Synthesized Audio", waveform_options={'waveform_progress_color': '#3C82F6'})
|
165 |
ljbtn.click(ljsynthesize, inputs=[ljinp, ljsteps, embscale], outputs=[ljaudio], concurrency_limit=4)
|
166 |
-
with gr.Blocks(title="StyleTTS 2", css="footer{display:none !important}", theme=
|
167 |
gr.Markdown(INTROTXT)
|
168 |
gr.DuplicateButton("Duplicate Space")
|
169 |
# gr.TabbedInterface([vctk, clone, lj, longText], ['Multi-Voice', 'Voice Cloning', 'Text-guided Inference', 'Long Text [Beta]'])
|
|
|
13 |
from txtsplit import txtsplit
|
14 |
import numpy as np
|
15 |
import pickle
|
16 |
+
theme = gr.themes.Base(
|
17 |
font=[gr.themes.GoogleFont('Libre Franklin'), gr.themes.GoogleFont('Public Sans'), 'system-ui', 'sans-serif'],
|
18 |
)
|
19 |
|
|
|
163 |
ljbtn = gr.Button("Synthesize", variant="primary")
|
164 |
ljaudio = gr.Audio(interactive=False, label="Synthesized Audio", waveform_options={'waveform_progress_color': '#3C82F6'})
|
165 |
ljbtn.click(ljsynthesize, inputs=[ljinp, ljsteps, embscale], outputs=[ljaudio], concurrency_limit=4)
|
166 |
+
with gr.Blocks(title="StyleTTS 2", css="footer{display:none !important}", theme="NoCrypt/miku") as demo:
|
167 |
gr.Markdown(INTROTXT)
|
168 |
gr.DuplicateButton("Duplicate Space")
|
169 |
# gr.TabbedInterface([vctk, clone, lj, longText], ['Multi-Voice', 'Voice Cloning', 'Text-guided Inference', 'Long Text [Beta]'])
|