Simonlob commited on
Commit
85497dc
·
verified ·
1 Parent(s): 581f616

Change theme

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -325,7 +325,13 @@ def infer(sample_audio_path, ref_transcript, target_text, temperature, top_p, re
325
  progress(1, 'Synthesized!')
326
  return (config.audio.sample_rate, gen_wav.numpy())
327
 
328
- with gr.Blocks(title="KaniTTS Zero-Shot Voice Cloning") as app_tts:
 
 
 
 
 
 
329
  gr.Markdown("# KaniTTS Zero-Shot Voice Cloning")
330
  gr.Markdown("Upload reference audio, provide its transcript, and enter text to generate speech in the reference voice.")
331
 
 
325
  progress(1, 'Synthesized!')
326
  return (config.audio.sample_rate, gen_wav.numpy())
327
 
328
+
329
+ theme = gr.themes.Glass(
330
+ primary_hue="cyan",
331
+ )
332
+
333
+
334
+ with gr.Blocks(theme=theme, title="KaniTTS Zero-Shot Voice Cloning") as app_tts:
335
  gr.Markdown("# KaniTTS Zero-Shot Voice Cloning")
336
  gr.Markdown("Upload reference audio, provide its transcript, and enter text to generate speech in the reference voice.")
337