Update app.py
Browse files
app.py
CHANGED
@@ -55,9 +55,9 @@ def AIPatient(message):
|
|
55 |
response = output["choices"][0]["text"]
|
56 |
response = response.strip()
|
57 |
|
58 |
-
with feedback_file.open("a") as f:
|
59 |
-
|
60 |
-
|
61 |
|
62 |
context += response
|
63 |
print (context)
|
|
|
55 |
response = output["choices"][0]["text"]
|
56 |
response = response.strip()
|
57 |
|
58 |
+
#with feedback_file.open("a") as f:
|
59 |
+
# f.write(json.dumps({"Nurse": message, "Barry": response},indent=4))
|
60 |
+
# f.write("\n")
|
61 |
|
62 |
context += response
|
63 |
print (context)
|