Update app.py
Browse files
app.py
CHANGED
|
@@ -140,12 +140,12 @@ if use_mel_as_base:
|
|
| 140 |
noise_step = col2.number_input('Noise Step', value=600, min_value=1, max_value=1000, step=50)
|
| 141 |
else:
|
| 142 |
noise_step = 600
|
| 143 |
-
password = col2.text_input("Enter password", help='
|
| 144 |
-
correct_password =
|
| 145 |
###
|
| 146 |
if st.button("Render audio"):
|
| 147 |
-
if password ==
|
| 148 |
-
|
| 149 |
|
| 150 |
else:
|
| 151 |
render_audio(ckpt_temp_file, config_temp_file, audio_temp_file, title, title2, title3, noise_step, choice, use_mel_as_base)
|
|
|
|
| 140 |
noise_step = col2.number_input('Noise Step', value=600, min_value=1, max_value=1000, step=50)
|
| 141 |
else:
|
| 142 |
noise_step = 600
|
| 143 |
+
password = col2.text_input("Enter password", help='Hi,Zacgo')
|
| 144 |
+
correct_password = "Zacgo"
|
| 145 |
###
|
| 146 |
if st.button("Render audio"):
|
| 147 |
+
if password == "Zacgo":
|
| 148 |
+
render_audio(ckpt_temp_file, config_temp_file, audio_temp_file, title, title2, title3, noise_step, choice, use_mel_as_base)
|
| 149 |
|
| 150 |
else:
|
| 151 |
render_audio(ckpt_temp_file, config_temp_file, audio_temp_file, title, title2, title3, noise_step, choice, use_mel_as_base)
|