Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -61,7 +61,6 @@ def run_gpt(
|
|
61 |
stop_tokens,
|
62 |
max_tokens,
|
63 |
seed,
|
64 |
-
purpose,
|
65 |
**prompt_kwargs,
|
66 |
):
|
67 |
print(seed)
|
@@ -79,7 +78,6 @@ def run_gpt(
|
|
79 |
|
80 |
content = PREFIX.format(
|
81 |
timestamp=timestamp,
|
82 |
-
purpose=purpose,
|
83 |
) + prompt_template.format(**prompt_kwargs)
|
84 |
if VERBOSE:
|
85 |
print(LOG_PROMPT.format(content))
|
|
|
61 |
stop_tokens,
|
62 |
max_tokens,
|
63 |
seed,
|
|
|
64 |
**prompt_kwargs,
|
65 |
):
|
66 |
print(seed)
|
|
|
78 |
|
79 |
content = PREFIX.format(
|
80 |
timestamp=timestamp,
|
|
|
81 |
) + prompt_template.format(**prompt_kwargs)
|
82 |
if VERBOSE:
|
83 |
print(LOG_PROMPT.format(content))
|