mbarnig commited on
Commit
bde8ebb
·
verified ·
1 Parent(s): 7c99d61

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -54,7 +54,7 @@ def button_on(stream):
54
  return gr.update(interactive=False,visible=False),gr.update(interactive=True,visible=True)
55
  def clear_aud():
56
  return None
57
- with gr.Blocks(theme="Hev832/Applio-Theme") as b:
58
  gr.HTML("""<h1 style='font-size:xxx-large;font-weight:900;'>Piper Fast TTS</h1>
59
  <h4>Piper: <a href='https://github.com/rhasspy/piper' target='_blank'>https://github.com/rhasspy/piper</a></h4>
60
  <h4>PyPiperTTS: <a href='https://github.com/broadfield-dev/PyPiperTTS' target='_blank'>https://github.com/broadfield-dev/PyPiperTTS</a></h4>
@@ -81,9 +81,7 @@ with gr.Blocks(theme="Hev832/Applio-Theme") as b:
81
  with gr.Tab("Load Settings"):
82
  load_file=gr.File()
83
  with gr.Column(scale=1):
84
- expbtn1=gr.Button("Example 1").click(exp1,None,[in_txt,load_file])
85
- expbtn2=gr.Button("Example 2").click(exp2,None,[in_txt,load_file])
86
- expbtn3=gr.Button("Example 3").click(exp3,None,[in_txt,load_file])
87
  with gr.Accordion("Model Config"):
88
  json_ob=gr.JSON(label="JSON")
89
  f1=stream.change(button_on,stream,[stream_btn,sub_btn])
 
54
  return gr.update(interactive=False,visible=False),gr.update(interactive=True,visible=True)
55
  def clear_aud():
56
  return None
57
+ with gr.Blocks() as b:
58
  gr.HTML("""<h1 style='font-size:xxx-large;font-weight:900;'>Piper Fast TTS</h1>
59
  <h4>Piper: <a href='https://github.com/rhasspy/piper' target='_blank'>https://github.com/rhasspy/piper</a></h4>
60
  <h4>PyPiperTTS: <a href='https://github.com/broadfield-dev/PyPiperTTS' target='_blank'>https://github.com/broadfield-dev/PyPiperTTS</a></h4>
 
81
  with gr.Tab("Load Settings"):
82
  load_file=gr.File()
83
  with gr.Column(scale=1):
84
+
 
 
85
  with gr.Accordion("Model Config"):
86
  json_ob=gr.JSON(label="JSON")
87
  f1=stream.change(button_on,stream,[stream_btn,sub_btn])