osanseviero HF staff commited on
Commit
91eda71
1 Parent(s): d2e0f91

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -9
app.py CHANGED
@@ -43,15 +43,14 @@ def inference(text, voice):
43
  gen = tts.tts_with_preset(text, conds, preset)
44
  return gen
45
 
46
-
47
- text = "Joining two modalities results in a surprising increase in generalization! What would happen if we combined them all?"
48
- iface = gr.Interface(
49
- generate_tone,
50
- inputs=[
51
- gr.inputs.Textbox(type="text", default=text, label="Text"),
52
- gr.inputs.Dropdown(voices, type="index"),
53
- ],
54
- outputs="audio",
55
  )
56
 
57
  iface.launch()
 
43
  gen = tts.tts_with_preset(text, conds, preset)
44
  return gen
45
 
46
+ text = "Joining two modalities results in a surprising increase in generalization! What would happen if we combined them all?"
47
+ iface = gr.Interface(
48
+ generate_tone,
49
+ inputs=[
50
+ gr.inputs.Textbox(type="text", default=text, label="Text"),
51
+ gr.inputs.Dropdown(voices, type="index"),
52
+ ],
53
+ outputs="audio",
 
54
  )
55
 
56
  iface.launch()