Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -123,6 +123,7 @@ def run_gpt(
|
|
123 |
)
|
124 |
|
125 |
content = PREFIX.format(
|
|
|
126 |
purpose=purpose,
|
127 |
) + prompt_template.format(**prompt_kwargs)
|
128 |
if VERBOSE:
|
@@ -222,7 +223,6 @@ def call_main(purpose, task, history, action_input):
|
|
222 |
seed=random.randint(1,1000000000),
|
223 |
purpose=purpose,
|
224 |
task=task,
|
225 |
-
timestamp=timestamp,
|
226 |
history=history,
|
227 |
)
|
228 |
lines = resp.strip().strip("\n").split("\n")
|
|
|
123 |
)
|
124 |
|
125 |
content = PREFIX.format(
|
126 |
+
timestamp=timestamp,
|
127 |
purpose=purpose,
|
128 |
) + prompt_template.format(**prompt_kwargs)
|
129 |
if VERBOSE:
|
|
|
223 |
seed=random.randint(1,1000000000),
|
224 |
purpose=purpose,
|
225 |
task=task,
|
|
|
226 |
history=history,
|
227 |
)
|
228 |
lines = resp.strip().strip("\n").split("\n")
|