Spaces:
Paused
Paused
FranklinWillemen
commited on
Commit
•
ababde8
1
Parent(s):
d62b28a
bug fix
Browse files- discourse.py +1 -1
discourse.py
CHANGED
@@ -63,6 +63,6 @@ def respond(audio:str):
|
|
63 |
transcript = ""
|
64 |
for m in context:
|
65 |
if m["role"] != "system":
|
66 |
-
transcript += m["role"] + " : " + m["
|
67 |
|
68 |
return AUDIO_FILE_NAME, transcript
|
|
|
63 |
transcript = ""
|
64 |
for m in context:
|
65 |
if m["role"] != "system":
|
66 |
+
transcript += m["role"] + " : " + m["content"] + "\n\n"
|
67 |
|
68 |
return AUDIO_FILE_NAME, transcript
|