Spaces:
Runtime error
Runtime error
Commit
·
de2fb5f
1
Parent(s):
ccc3325
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,7 +12,6 @@ audio = col1.file_uploader("Choose your audio", type=["wav"])
|
|
| 12 |
title = col2.number_input("Key", value=0, step=1, min_value=-12, max_value=12)
|
| 13 |
title2 = col2.number_input("Speedup", value=20, step=1, min_value=5, max_value=100)
|
| 14 |
title3 = col2.number_input("Gender Flag", value=1.00, step=0.01, min_value=0.70, max_value=1.30, help='Default is 1.0, it works by decimals, setting it at 1.05 will make your render sound more female-ish, setting it to 0.95 will make it sound more masculine, for example.')
|
| 15 |
-
password = col2.text_input("Enter password")
|
| 16 |
# Create checkbox for using Mel as Base
|
| 17 |
use_mel_as_base = col2.checkbox('Use Mel as Base', value=False, help='gt mel: Enabling this will use the input audio as a base and will unlock a new parameter, do not use this if you dont know what it does.')
|
| 18 |
|
|
@@ -21,5 +20,5 @@ if use_mel_as_base:
|
|
| 21 |
noise_step = col2.number_input('Noise Step', value=600, min_value=1, max_value=1000, step=50)
|
| 22 |
else:
|
| 23 |
noise_step = None
|
| 24 |
-
|
| 25 |
# Rest of the code
|
|
|
|
| 12 |
title = col2.number_input("Key", value=0, step=1, min_value=-12, max_value=12)
|
| 13 |
title2 = col2.number_input("Speedup", value=20, step=1, min_value=5, max_value=100)
|
| 14 |
title3 = col2.number_input("Gender Flag", value=1.00, step=0.01, min_value=0.70, max_value=1.30, help='Default is 1.0, it works by decimals, setting it at 1.05 will make your render sound more female-ish, setting it to 0.95 will make it sound more masculine, for example.')
|
|
|
|
| 15 |
# Create checkbox for using Mel as Base
|
| 16 |
use_mel_as_base = col2.checkbox('Use Mel as Base', value=False, help='gt mel: Enabling this will use the input audio as a base and will unlock a new parameter, do not use this if you dont know what it does.')
|
| 17 |
|
|
|
|
| 20 |
noise_step = col2.number_input('Noise Step', value=600, min_value=1, max_value=1000, step=50)
|
| 21 |
else:
|
| 22 |
noise_step = None
|
| 23 |
+
password = col2.text_input("Enter password", help='Password can be got by agreeing to TOS and getting allowed after validation, you can go to the TOS here:')
|
| 24 |
# Rest of the code
|