Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -72,7 +72,7 @@ def reply(input, dataset_name):
|
|
72 |
)["choices"][0]["text"].strip(" \n")
|
73 |
chat_transcript = ""
|
74 |
for message in response:
|
75 |
-
chat_transcript +=
|
76 |
|
77 |
return chat_transcript
|
78 |
except Exception as e:
|
|
|
72 |
)["choices"][0]["text"].strip(" \n")
|
73 |
chat_transcript = ""
|
74 |
for message in response:
|
75 |
+
chat_transcript += input + "\n\n" + message + "\n\n"
|
76 |
|
77 |
return chat_transcript
|
78 |
except Exception as e:
|