Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -653,7 +653,7 @@ def compress_data(c,purpose, task, history):
|
|
653 |
out+=resp
|
654 |
e=e+chunk
|
655 |
s=s+chunk
|
656 |
-
|
657 |
resp = run_gpt(
|
658 |
COMPRESS_DATA_PROMPT,
|
659 |
stop_tokens=["observation:", "task:", "action:", "thought:"],
|
@@ -664,7 +664,7 @@ def compress_data(c,purpose, task, history):
|
|
664 |
knowledge=new_history,
|
665 |
history=result,
|
666 |
)
|
667 |
-
|
668 |
print ("final" + resp)
|
669 |
history = "result: {}\n".format(resp)
|
670 |
return history
|
|
|
653 |
out+=resp
|
654 |
e=e+chunk
|
655 |
s=s+chunk
|
656 |
+
"""
|
657 |
resp = run_gpt(
|
658 |
COMPRESS_DATA_PROMPT,
|
659 |
stop_tokens=["observation:", "task:", "action:", "thought:"],
|
|
|
664 |
knowledge=new_history,
|
665 |
history=result,
|
666 |
)
|
667 |
+
"""
|
668 |
print ("final" + resp)
|
669 |
history = "result: {}\n".format(resp)
|
670 |
return history
|