Update app.py
Browse files
app.py
CHANGED
|
@@ -25,7 +25,7 @@ def generate_voice(text, voice_name):
|
|
| 25 |
raise gr.Error(e)
|
| 26 |
|
| 27 |
# Login function for authentication
|
| 28 |
-
def custom_auth(password):
|
| 29 |
return password == "aitutor"
|
| 30 |
|
| 31 |
|
|
|
|
| 25 |
raise gr.Error(e)
|
| 26 |
|
| 27 |
# Login function for authentication
|
| 28 |
+
def custom_auth(username, password):
|
| 29 |
return password == "aitutor"
|
| 30 |
|
| 31 |
|