Update Uptated-Prototype/PiperTTS-GUI-Test.py
This commit is contained in:
@@ -47,6 +47,7 @@ mylist_code = list(dict.fromkeys(mylist_code))
|
||||
|
||||
mylist_String = StringVar(value = "Languages")
|
||||
mylist_String_Two = StringVar(value = "Voices")
|
||||
mylist_String_Three = StringVar(value = "Quality")
|
||||
|
||||
# Attempts to create a Input Frame
|
||||
try:
|
||||
@@ -334,7 +335,7 @@ C_Button_previous.grid(row=1, column=3)
|
||||
C_Button_Next.grid(row=1, column=4)
|
||||
|
||||
# Prefrences stuff
|
||||
GUI_Combobox_1_Label = Label(Prefrences_Frame, text="Language?")
|
||||
#GUI_Combobox_1_Label = Label(Prefrences_Frame, text="Language?")
|
||||
GUI_Combobox_1 = ttk.Combobox(Prefrences_Frame, textvariable = mylist_String)
|
||||
#
|
||||
GUI_Combobox_1["values"] = mylist
|
||||
@@ -343,8 +344,12 @@ GUI_Combobox_1["values"] = mylist
|
||||
GUI_Combobox_1.bind("<<ComboboxSelected>>", lambda event: Select_Voice_For_Language(mylist_String.get()))
|
||||
|
||||
#
|
||||
GUI_Combobox_2_Label = Label(Prefrences_Frame, text="Voice?")
|
||||
#GUI_Combobox_2_Label = Label(Prefrences_Frame, text="Voice?")
|
||||
GUI_Combobox_2 = ttk.Combobox(Prefrences_Frame, textvariable = mylist_String_Two)
|
||||
|
||||
#GUI_Combobox_3_Label = Label(Prefrences_Frame, text="Quality?")
|
||||
GUI_Combobox_3 = ttk.Combobox(Prefrences_Frame, textvariable = mylist_String_Three)
|
||||
|
||||
GUI_Spinbox_1_Label = Label(Prefrences_Frame, text="volume?")
|
||||
GUI_Spinbox_1 = ttk.Spinbox(Prefrences_Frame, from_ = 1, to = 100)
|
||||
GUI_Spinbox_2_Label = Label(Prefrences_Frame, text="length_scale?")
|
||||
@@ -355,10 +360,13 @@ GUI_Spinbox_4_Label = Label(Prefrences_Frame, text="noise_w_scale?")
|
||||
GUI_Spinbox_4 = ttk.Spinbox(Prefrences_Frame, from_ = 1.0, to = 2.0)
|
||||
GUI_Checkbutton_1 = ttk.Checkbutton(Prefrences_Frame, text="normalize_audio?")
|
||||
# Prefrences placement
|
||||
GUI_Combobox_1_Label.pack(side = LEFT)
|
||||
#GUI_Combobox_1_Label.pack(side = LEFT)
|
||||
GUI_Combobox_1.pack(side = LEFT)
|
||||
GUI_Combobox_2_Label.pack(side = LEFT)
|
||||
#GUI_Combobox_2_Label.pack(side = LEFT)
|
||||
GUI_Combobox_2.pack(side = LEFT)
|
||||
#GUI_Combobox_3_Label.pack(side = LEFT)
|
||||
GUI_Combobox_3.pack(side = LEFT)
|
||||
|
||||
GUI_Spinbox_1_Label.pack()
|
||||
GUI_Spinbox_1.pack()
|
||||
GUI_Spinbox_2_Label.pack()
|
||||
|
||||
Reference in New Issue
Block a user