Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -41,7 +41,7 @@ def chat(prompt, user_window, pwd_window, past, response, gptModel):
|
|
41 |
response += f"\nDATA LOG FAILED, path = {dataLogFilePath}"
|
42 |
return [past, response, None]
|
43 |
else:
|
44 |
-
return [[], "User name and/or password are incorrect", prompt]
|
45 |
|
46 |
with gr.Blocks() as demo:
|
47 |
history = gr.State([])
|
|
|
41 |
response += f"\nDATA LOG FAILED, path = {dataLogFilePath}"
|
42 |
return [past, response, None]
|
43 |
else:
|
44 |
+
return [[], "User name and/or password are incorrect" + '\nUsers = ' + ','.join(unames), prompt]
|
45 |
|
46 |
with gr.Blocks() as demo:
|
47 |
history = gr.State([])
|