Abrahamau commited on
Commit
cc3da50
·
verified ·
1 Parent(s): 8fb404e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -50,10 +50,10 @@ tab2 = gr.Interface(
50
  )
51
 
52
  radio3 = gr.Radio(["microsoft/speecht5_tts"], value="microsoft/speecht5_tts", label="Select an tts", info="Age Classifier")
53
- radio3_1 = gr.Radio([("Scottish male (awb)", 0), ("US male (bdl)", 1138), ("US female (clb)", 2271), ("Canadian male (jmk)",3403), ("Indian male (ksp)", 4535), ("US male (rms)", 5667), (6799, "US female (slt)")], value=4535)
54
  tab3 = gr.Interface(
55
  fn=text2speech,
56
- inputs=[radio3, "text", radio3_1],
57
  outputs=["audio"],
58
  )
59
 
 
50
  )
51
 
52
  radio3 = gr.Radio(["microsoft/speecht5_tts"], value="microsoft/speecht5_tts", label="Select an tts", info="Age Classifier")
53
+ radio3_1 = gr.Radio([("Scottish male (awb)", 0), ("US male (bdl)", 1138), ("US female (clb)", 2271), ("Canadian male (jmk)",3403), ("Indian male (ksp)", 4535), ("US male (rms)", 5667), ("US female (slt)"), 6799], value=4535)
54
  tab3 = gr.Interface(
55
  fn=text2speech,
56
+ inputs=[radio3, "textbox", radio3_1],
57
  outputs=["audio"],
58
  )
59