Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -833,11 +833,10 @@ def create_gradio_interface():
|
|
833 |
)
|
834 |
|
835 |
voice_selector = gr.Dropdown(
|
836 |
-
label="π Select Voice",
|
837 |
choices=get_voice_choices(),
|
838 |
value=list(voice_library.keys())[0] if voice_library else None,
|
839 |
-
interactive=True
|
840 |
-
info="Choose from builtin voices (π§) or your custom voices (π)"
|
841 |
)
|
842 |
|
843 |
with gr.Row():
|
@@ -848,32 +847,28 @@ def create_gradio_interface():
|
|
848 |
exaggeration = gr.Slider(
|
849 |
0.25, 2,
|
850 |
step=0.05,
|
851 |
-
label="Exaggeration",
|
852 |
-
value=0.5
|
853 |
-
info="Controls expressiveness (0.5 = neutral)"
|
854 |
)
|
855 |
|
856 |
cfg_weight = gr.Slider(
|
857 |
0.2, 1,
|
858 |
step=0.05,
|
859 |
-
label="CFG Weight",
|
860 |
-
value=0.5
|
861 |
-
info="Controls pace and clarity"
|
862 |
)
|
863 |
|
864 |
with gr.Accordion("Advanced Settings", open=False):
|
865 |
temperature = gr.Slider(
|
866 |
0.05, 5,
|
867 |
step=0.05,
|
868 |
-
label="Temperature",
|
869 |
-
value=0.8
|
870 |
-
info="Controls randomness"
|
871 |
)
|
872 |
|
873 |
seed = gr.Number(
|
874 |
value=0,
|
875 |
-
label="Seed (0 = random)"
|
876 |
-
info="Set to non-zero for reproducible results"
|
877 |
)
|
878 |
|
879 |
with gr.Column():
|
@@ -926,9 +921,8 @@ def create_gradio_interface():
|
|
926 |
)
|
927 |
|
928 |
new_voice_audio = gr.Audio(
|
929 |
-
label="Upload Voice Sample",
|
930 |
-
type="numpy"
|
931 |
-
info="Upload 5-30 seconds of clear speech"
|
932 |
)
|
933 |
|
934 |
create_voice_btn = gr.Button("π― Create Voice", variant="primary")
|
|
|
833 |
)
|
834 |
|
835 |
voice_selector = gr.Dropdown(
|
836 |
+
label="π Select Voice (π§ = builtin, π = custom)",
|
837 |
choices=get_voice_choices(),
|
838 |
value=list(voice_library.keys())[0] if voice_library else None,
|
839 |
+
interactive=True
|
|
|
840 |
)
|
841 |
|
842 |
with gr.Row():
|
|
|
847 |
exaggeration = gr.Slider(
|
848 |
0.25, 2,
|
849 |
step=0.05,
|
850 |
+
label="Exaggeration (Controls expressiveness - 0.5 = neutral)",
|
851 |
+
value=0.5
|
|
|
852 |
)
|
853 |
|
854 |
cfg_weight = gr.Slider(
|
855 |
0.2, 1,
|
856 |
step=0.05,
|
857 |
+
label="CFG Weight (Controls pace and clarity)",
|
858 |
+
value=0.5
|
|
|
859 |
)
|
860 |
|
861 |
with gr.Accordion("Advanced Settings", open=False):
|
862 |
temperature = gr.Slider(
|
863 |
0.05, 5,
|
864 |
step=0.05,
|
865 |
+
label="Temperature (Controls randomness)",
|
866 |
+
value=0.8
|
|
|
867 |
)
|
868 |
|
869 |
seed = gr.Number(
|
870 |
value=0,
|
871 |
+
label="Seed (0 = random, set to non-zero for reproducible results)"
|
|
|
872 |
)
|
873 |
|
874 |
with gr.Column():
|
|
|
921 |
)
|
922 |
|
923 |
new_voice_audio = gr.Audio(
|
924 |
+
label="Upload Voice Sample (5-30 seconds of clear speech)",
|
925 |
+
type="numpy"
|
|
|
926 |
)
|
927 |
|
928 |
create_voice_btn = gr.Button("π― Create Voice", variant="primary")
|