Spaces:
Configuration error
Configuration error
Kangarroar
commited on
Commit
•
6bee093
1
Parent(s):
ac5cf17
Update app.py
Browse files
app.py
CHANGED
@@ -116,7 +116,8 @@ if st.button("Render audio"):
|
|
116 |
password = st.text_input("Enter password")
|
117 |
with open("network/hubert/Hifi.txt", "r") as f:
|
118 |
correct_password = f.read().strip()
|
119 |
-
if password
|
120 |
-
st.error("Incorrect password")
|
121 |
-
else:
|
122 |
render_audio(ckpt_temp_file, config_temp_file, audio_temp_file, title)
|
|
|
|
|
|
|
|
116 |
password = st.text_input("Enter password")
|
117 |
with open("network/hubert/Hifi.txt", "r") as f:
|
118 |
correct_password = f.read().strip()
|
119 |
+
if password = correct_password:
|
|
|
|
|
120 |
render_audio(ckpt_temp_file, config_temp_file, audio_temp_file, title)
|
121 |
+
|
122 |
+
else:
|
123 |
+
st.error("Incorrect password")
|