Spaces:
Paused
Paused
Commit
·
a55019a
1
Parent(s):
5d7bd20
added debugging sequence to fix outputs
Browse files
app.py
CHANGED
@@ -92,6 +92,7 @@ class RoleAgent:
|
|
92 |
response = self.tokenizer.decode(outputs[0], skip_special_tokens=True)
|
93 |
|
94 |
thinking = ""
|
|
|
95 |
answer = response
|
96 |
if all(tag in response for tag in ("THINKING:", "ANSWER:", "END")):
|
97 |
print("[FIX] response:", response)
|
|
|
92 |
response = self.tokenizer.decode(outputs[0], skip_special_tokens=True)
|
93 |
|
94 |
thinking = ""
|
95 |
+
print(response)
|
96 |
answer = response
|
97 |
if all(tag in response for tag in ("THINKING:", "ANSWER:", "END")):
|
98 |
print("[FIX] response:", response)
|