johann22 commited on
Commit
d5e2616
1 Parent(s): fc05708

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -23,9 +23,9 @@ def generate(
23
  ):
24
  agent=prompt.AI_SYSTEM_PROMPT
25
  if agent_name == "WEB_DEV":
26
- agent = prompt.WEB_DEV
27
  if agent_name == "AI_SYSTEM_PROMPT":
28
- agent = prompt.AI_SYSTEM_PROMPT
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: