Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,7 @@ agents =[
|
|
| 19 |
"PYTHON_CODE_DEV"
|
| 20 |
]
|
| 21 |
def generate(
|
| 22 |
-
prompt, history, agent_name=agents[0], sys_prompt, temperature=0.9, max_new_tokens=256, top_p=0.95, repetition_penalty=1.0,
|
| 23 |
):
|
| 24 |
agent=prompts.WEB_DEV
|
| 25 |
if agent_name == "WEB_DEV":
|
|
|
|
| 19 |
"PYTHON_CODE_DEV"
|
| 20 |
]
|
| 21 |
def generate(
|
| 22 |
+
prompt, history, agent_name=agents[0], sys_prompt="", temperature=0.9, max_new_tokens=256, top_p=0.95, repetition_penalty=1.0,
|
| 23 |
):
|
| 24 |
agent=prompts.WEB_DEV
|
| 25 |
if agent_name == "WEB_DEV":
|