Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -23,9 +23,9 @@ def generate(
|
|
23 |
):
|
24 |
agent=prompt.AI_SYSTEM_PROMPT
|
25 |
if agent_name == "WEB_DEV":
|
26 |
-
agent =
|
27 |
if agent_name == "AI_SYSTEM_PROMPT":
|
28 |
-
agent =
|
29 |
system_prompt=agent
|
30 |
temperature = float(temperature)
|
31 |
if temperature < 1e-2:
|
|
|
23 |
):
|
24 |
agent=prompt.AI_SYSTEM_PROMPT
|
25 |
if agent_name == "WEB_DEV":
|
26 |
+
agent = prompts.WEB_DEV
|
27 |
if agent_name == "AI_SYSTEM_PROMPT":
|
28 |
+
agent = prompts.AI_SYSTEM_PROMPT
|
29 |
system_prompt=agent
|
30 |
temperature = float(temperature)
|
31 |
if temperature < 1e-2:
|