Spaces:
Runtime error
Runtime error
Commit
·
585f92d
1
Parent(s):
7154eab
update GPTRemote
Browse files
app.py
CHANGED
@@ -272,7 +272,8 @@ class GPTRemote(LLM):
|
|
272 |
# if 'Thought:' not in output:
|
273 |
# output = 'Thought:'+ output
|
274 |
|
275 |
-
if 'Action Input:' in output and 'Observation:' in output:
|
|
|
276 |
output = output.split('Observation:')[0]
|
277 |
|
278 |
print("-" * 20)
|
|
|
272 |
# if 'Thought:' not in output:
|
273 |
# output = 'Thought:'+ output
|
274 |
|
275 |
+
# if 'Action Input:' in output and 'Observation:' in output:
|
276 |
+
if 'Action:' in output and 'Observation:' in output:
|
277 |
output = output.split('Observation:')[0]
|
278 |
|
279 |
print("-" * 20)
|