Respair commited on
Commit
641afe5
1 Parent(s): d3f7823

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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(theme="NoCrypt/miku",
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=theme) 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]'])
 
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]'])