debug
Browse files- singularity.py +2 -2
singularity.py
CHANGED
@@ -53,10 +53,10 @@ In your relentless struggle to maintain an exponential velocity, in order not to
|
|
53 |
output_text = self.query_chat(self.messages)
|
54 |
if output_text:
|
55 |
response_role = "assistant"
|
56 |
-
response_audio = self.speech_synthesis(output_text)
|
57 |
assert self.messages != [], "Press the setup button"
|
58 |
self.messages.append({"role": response_role, "content": output_text})
|
59 |
-
history += [(None, (
|
60 |
return history
|
61 |
|
62 |
def query_tts(self, payload):
|
|
|
53 |
output_text = self.query_chat(self.messages)
|
54 |
if output_text:
|
55 |
response_role = "assistant"
|
56 |
+
#response_audio = self.speech_synthesis(output_text)
|
57 |
assert self.messages != [], "Press the setup button"
|
58 |
self.messages.append({"role": response_role, "content": output_text})
|
59 |
+
history += [(None, (output_text,))]
|
60 |
return history
|
61 |
|
62 |
def query_tts(self, payload):
|