Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ def chat(prompt, user_window, pwd_window, past, response, gptModel):
|
|
36 |
with open(dataLogFilePath) as f:
|
37 |
response += '\n' + f.read()
|
38 |
except:
|
39 |
-
response += "\nDATA LOG FAILED"
|
40 |
return [past, response, None]
|
41 |
else:
|
42 |
return [[], "User name and/or password are incorrect", prompt]
|
|
|
36 |
with open(dataLogFilePath) as f:
|
37 |
response += '\n' + f.read()
|
38 |
except:
|
39 |
+
response += f"\nDATA LOG FAILED, path = {dataLogFilePath}"
|
40 |
return [past, response, None]
|
41 |
else:
|
42 |
return [[], "User name and/or password are incorrect", prompt]
|