Respair commited on
Commit
e76f77d
·
verified ·
1 Parent(s): 3435229

Update demo.py

Browse files
Files changed (1) hide show
  1. demo.py +4 -9
demo.py CHANGED
@@ -157,12 +157,11 @@ def Client_PromptedSynth_Text(text, beta, t, diffusion_steps, embedding_scale, r
157
  return (44100, np.zeros(1))
158
 
159
 
160
- # Repo -> [Hugging Face - 🤗](https://huggingface.co/Respair/Project_Kanade_SpeechModel)
161
  INTROTXT = """#
162
- Demo for The Poor Man's TTS, this is run on a single RTX 3090.
 
163
  Repo -> [Github](https://github.com/Respaired/Project_Kalliope)
164
- **Check the Tips and Model Details tabs below.** <br>
165
- Enjoy!
166
  """
167
 
168
 
@@ -423,8 +422,7 @@ model_details_html = """
423
  """
424
 
425
  with gr.Blocks() as model_details_tab:
426
- gr.HTML(model_details_html) # Use HTML component
427
-
428
 
429
  theme = gr.themes.Base(
430
  font=[gr.themes.GoogleFont('Libre Franklin'), gr.themes.GoogleFont('Public Sans'), 'system-ui', 'sans-serif'],
@@ -440,7 +438,4 @@ app = gr.TabbedInterface(
440
 
441
  if __name__ == "__main__":
442
  print("Launching Client Gradio App...")
443
- if isinstance(client, DummyClient):
444
- print("\nWARNING: Gradio Client failed to connect. The app will launch, but synthesis will not work.")
445
- print("Please ensure the backend server is running and accessible, then restart this client.\n")
446
  app.queue(api_open=False, max_size=15).launch(show_api=False, share=True)
 
157
  return (44100, np.zeros(1))
158
 
159
 
160
+ # Repo -> [Hugging Face - 🤗](https://huggingface.co/Respair/xxx) later
161
  INTROTXT = """#
162
+ Demo for The Poor Man's TTS, this is run on a single RTX 3090. <br>
163
+ These networks can only generate natural speech with correct intonations (i.e generating NSFW, non-speech sounds, stutters etc. doesn't work.) <br>
164
  Repo -> [Github](https://github.com/Respaired/Project_Kalliope)
 
 
165
  """
166
 
167
 
 
422
  """
423
 
424
  with gr.Blocks() as model_details_tab:
425
+ gr.HTML(model_details_html)
 
426
 
427
  theme = gr.themes.Base(
428
  font=[gr.themes.GoogleFont('Libre Franklin'), gr.themes.GoogleFont('Public Sans'), 'system-ui', 'sans-serif'],
 
438
 
439
  if __name__ == "__main__":
440
  print("Launching Client Gradio App...")
 
 
 
441
  app.queue(api_open=False, max_size=15).launch(show_api=False, share=True)