Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -1,48 +1,3 @@
|
|
1 |
-
Hugging Face's logo
|
2 |
-
Hugging Face
|
3 |
-
Search models, datasets, users...
|
4 |
-
Models
|
5 |
-
Datasets
|
6 |
-
Spaces
|
7 |
-
Posts
|
8 |
-
Docs
|
9 |
-
Enterprise
|
10 |
-
Pricing
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
Spaces:
|
15 |
-
|
16 |
-
OpenSound
|
17 |
-
/
|
18 |
-
SSR-Speech
|
19 |
-
|
20 |
-
private
|
21 |
-
|
22 |
-
Logs
|
23 |
-
App
|
24 |
-
Files
|
25 |
-
Community
|
26 |
-
Settings
|
27 |
-
SSR-Speech
|
28 |
-
/
|
29 |
-
app.py
|
30 |
-
|
31 |
-
OpenSound's picture
|
32 |
-
OpenSound
|
33 |
-
Update app.py
|
34 |
-
ce5a339
|
35 |
-
verified
|
36 |
-
27 minutes ago
|
37 |
-
raw
|
38 |
-
|
39 |
-
Copy download link
|
40 |
-
history
|
41 |
-
blame
|
42 |
-
edit
|
43 |
-
delete
|
44 |
-
|
45 |
-
41.4 kB
|
46 |
import os
|
47 |
os.system("bash setup.sh")
|
48 |
import requests
|
@@ -767,7 +722,7 @@ if __name__ == "__main__":
|
|
767 |
|
768 |
with gr.Row():
|
769 |
with gr.Accordion("Advanced Settings", open=False):
|
770 |
-
seed = gr.Number(label="seed", value
|
771 |
aug_text = gr.Radio(label="aug_text", choices=[0, 1], value=1,
|
772 |
info="set to 1 to use classifer-free guidance, change if you don't like the results")
|
773 |
cfg_coef = gr.Number(label="cfg_coef", value=1.5,
|
@@ -823,7 +778,7 @@ if __name__ == "__main__":
|
|
823 |
|
824 |
with gr.Row():
|
825 |
with gr.Accordion("Advanced Settings", open=False):
|
826 |
-
seed = gr.Number(label="seed", value
|
827 |
aug_text = gr.Radio(label="aug_text", choices=[0, 1], value=1,
|
828 |
info="set to 1 to use classifer-free guidance, change if you don't like the results")
|
829 |
cfg_coef = gr.Number(label="cfg_coef", value=1.5,
|
@@ -877,7 +832,7 @@ if __name__ == "__main__":
|
|
877 |
|
878 |
with gr.Row():
|
879 |
with gr.Accordion("Advanced Settings", open=False):
|
880 |
-
seed = gr.Number(label="seed", value
|
881 |
aug_text = gr.Radio(label="aug_text", choices=[0, 1], value=1,
|
882 |
info="set to 1 to use classifer-free guidance, change if you don't like the results")
|
883 |
cfg_coef = gr.Number(label="cfg_coef", value=1.5,
|
@@ -931,7 +886,7 @@ if __name__ == "__main__":
|
|
931 |
|
932 |
with gr.Row():
|
933 |
with gr.Accordion("Advanced Settings", open=False):
|
934 |
-
seed = gr.Number(label="seed", value
|
935 |
aug_text = gr.Radio(label="aug_text", choices=[0, 1], value=1,
|
936 |
info="set to 1 to use classifer-free guidance, change if you don't like the results")
|
937 |
cfg_coef = gr.Number(label="cfg_coef", value=1.5,
|
@@ -966,4 +921,4 @@ if __name__ == "__main__":
|
|
966 |
)
|
967 |
|
968 |
# Launch the Gradio demo
|
969 |
-
demo.launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import os
|
2 |
os.system("bash setup.sh")
|
3 |
import requests
|
|
|
722 |
|
723 |
with gr.Row():
|
724 |
with gr.Accordion("Advanced Settings", open=False):
|
725 |
+
seed = gr.Number(label="seed", value=2024, precision=0, info="random seeds always works :)")
|
726 |
aug_text = gr.Radio(label="aug_text", choices=[0, 1], value=1,
|
727 |
info="set to 1 to use classifer-free guidance, change if you don't like the results")
|
728 |
cfg_coef = gr.Number(label="cfg_coef", value=1.5,
|
|
|
778 |
|
779 |
with gr.Row():
|
780 |
with gr.Accordion("Advanced Settings", open=False):
|
781 |
+
seed = gr.Number(label="seed", value=2024, precision=0, info="random seeds always works :)")
|
782 |
aug_text = gr.Radio(label="aug_text", choices=[0, 1], value=1,
|
783 |
info="set to 1 to use classifer-free guidance, change if you don't like the results")
|
784 |
cfg_coef = gr.Number(label="cfg_coef", value=1.5,
|
|
|
832 |
|
833 |
with gr.Row():
|
834 |
with gr.Accordion("Advanced Settings", open=False):
|
835 |
+
seed = gr.Number(label="seed", value=2024, precision=0, info="random seeds always works :)")
|
836 |
aug_text = gr.Radio(label="aug_text", choices=[0, 1], value=1,
|
837 |
info="set to 1 to use classifer-free guidance, change if you don't like the results")
|
838 |
cfg_coef = gr.Number(label="cfg_coef", value=1.5,
|
|
|
886 |
|
887 |
with gr.Row():
|
888 |
with gr.Accordion("Advanced Settings", open=False):
|
889 |
+
seed = gr.Number(label="seed", value=2024, precision=0, info="random seeds always works :)")
|
890 |
aug_text = gr.Radio(label="aug_text", choices=[0, 1], value=1,
|
891 |
info="set to 1 to use classifer-free guidance, change if you don't like the results")
|
892 |
cfg_coef = gr.Number(label="cfg_coef", value=1.5,
|
|
|
921 |
)
|
922 |
|
923 |
# Launch the Gradio demo
|
924 |
+
demo.launch()
|