Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -112,6 +112,8 @@ def run_gpt(
|
|
| 112 |
purpose,
|
| 113 |
**prompt_kwargs,
|
| 114 |
):
|
|
|
|
|
|
|
| 115 |
print(seed)
|
| 116 |
generate_kwargs = dict(
|
| 117 |
temperature=0.9,
|
|
@@ -215,7 +217,6 @@ def compress_history(purpose, task, history):
|
|
| 215 |
|
| 216 |
|
| 217 |
def call_main(purpose, task, history, action_input):
|
| 218 |
-
timestamp=datetime.datetime.now()
|
| 219 |
resp = run_gpt(
|
| 220 |
FINDER,
|
| 221 |
stop_tokens=["observation:", "task:"],
|
|
|
|
| 112 |
purpose,
|
| 113 |
**prompt_kwargs,
|
| 114 |
):
|
| 115 |
+
timestamp=datetime.datetime.now()
|
| 116 |
+
|
| 117 |
print(seed)
|
| 118 |
generate_kwargs = dict(
|
| 119 |
temperature=0.9,
|
|
|
|
| 217 |
|
| 218 |
|
| 219 |
def call_main(purpose, task, history, action_input):
|
|
|
|
| 220 |
resp = run_gpt(
|
| 221 |
FINDER,
|
| 222 |
stop_tokens=["observation:", "task:"],
|