Spaces:
Runtime error
Runtime error
Commit
·
f10bbaf
1
Parent(s):
e3ef591
update bug
Browse files
app.py
CHANGED
@@ -100,12 +100,12 @@ class GPTRemote(LLM):
|
|
100 |
# print("Judge 3: ", 'Observation:' in output)
|
101 |
# print("Judge 4: ", 'Thought:' in output)
|
102 |
# print("Judge Final Answer: ",'Final Answer:' in output)
|
103 |
-
|
104 |
for item in keywords:
|
105 |
if item in output:
|
106 |
-
|
107 |
-
print("treat output: ",
|
108 |
-
return
|
109 |
|
110 |
@property
|
111 |
def _identifying_params(self) -> Mapping[str, Any]:
|
|
|
100 |
# print("Judge 3: ", 'Observation:' in output)
|
101 |
# print("Judge 4: ", 'Thought:' in output)
|
102 |
# print("Judge Final Answer: ",'Final Answer:' in output)
|
103 |
+
|
104 |
for item in keywords:
|
105 |
if item in output:
|
106 |
+
output = output.replace(item, '\n'+item)
|
107 |
+
print("treat output: ", output)
|
108 |
+
return output
|
109 |
|
110 |
@property
|
111 |
def _identifying_params(self) -> Mapping[str, Any]:
|