Zacgo commited on
Commit
5c6b8fe
1 Parent(s): a8490d6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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='Password can be got by agreeing to TOS and getting allowed after validation, you can go to the TOS here:')
144
- correct_password = os.environ.get("gatepassword")
145
  ###
146
  if st.button("Render audio"):
147
- if password == correct_password:
148
- st.error("Password is IAgreeToTheTOS, from haru0l")
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)