Spaces:
Configuration error
Configuration error
Commit
·
a9b5548
1
Parent(s):
6bee093
Update app.py
Browse files
app.py
CHANGED
|
@@ -116,7 +116,7 @@ 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 |
render_audio(ckpt_temp_file, config_temp_file, audio_temp_file, title)
|
| 121 |
|
| 122 |
else:
|
|
|
|
| 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:
|