Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -123,7 +123,7 @@ def call_main(purpose, task, history, directory, action_input):
|
|
123 |
resp = run_gpt(
|
124 |
ACTION_PROMPT,
|
125 |
stop_tokens=["observation:", "task:", "action:","though:"],
|
126 |
-
max_tokens=
|
127 |
purpose=purpose,
|
128 |
task=task,
|
129 |
history=history,
|
@@ -159,7 +159,7 @@ def call_set_task(purpose, task, history, directory, action_input):
|
|
159 |
task = run_gpt(
|
160 |
TASK_PROMPT,
|
161 |
stop_tokens=[],
|
162 |
-
max_tokens=
|
163 |
purpose=purpose,
|
164 |
task=task,
|
165 |
history=history,
|
@@ -361,7 +361,7 @@ examples=[["What are the biggest news stories today?", None, None, None, None, N
|
|
361 |
|
362 |
gr.ChatInterface(
|
363 |
fn=run,
|
364 |
-
title="Fragmixt\nAgents With Agents,\nSurf With a Purpose",
|
365 |
examples=examples,
|
366 |
concurrency_limit=20,
|
367 |
with gr.Blocks() as ifacea:
|
|
|
123 |
resp = run_gpt(
|
124 |
ACTION_PROMPT,
|
125 |
stop_tokens=["observation:", "task:", "action:","though:"],
|
126 |
+
max_tokens=5096,
|
127 |
purpose=purpose,
|
128 |
task=task,
|
129 |
history=history,
|
|
|
159 |
task = run_gpt(
|
160 |
TASK_PROMPT,
|
161 |
stop_tokens=[],
|
162 |
+
max_tokens=2048,
|
163 |
purpose=purpose,
|
164 |
task=task,
|
165 |
history=history,
|
|
|
361 |
|
362 |
gr.ChatInterface(
|
363 |
fn=run,
|
364 |
+
title="""Fragmixt\nAgents With Agents,\nSurf With a Purpose""",
|
365 |
examples=examples,
|
366 |
concurrency_limit=20,
|
367 |
with gr.Blocks() as ifacea:
|