johann22 commited on
Commit
69bbea6
1 Parent(s): a266fbc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -16,7 +16,7 @@ def format_prompt(message, history):
16
  return prompt
17
 
18
  def generate(
19
- prompt, history, system_prompt, temperature=0.9, max_new_tokens=256, top_p=0.95, repetition_penalty=1.0, agent_name=None,
20
  ):
21
  if agent_name == "WEB_DEV":
22
  agent = prompt.WEB_DEV
@@ -52,7 +52,7 @@ agents =[
52
 
53
  additional_inputs=[
54
  gr.Textbox(
55
- label="System Prompt",
56
  max_lines=1,
57
  interactive=True,
58
  ),
 
16
  return prompt
17
 
18
  def generate(
19
+ prompt, history, temperature=0.9, max_new_tokens=256, top_p=0.95, repetition_penalty=1.0, agent_name=None,
20
  ):
21
  if agent_name == "WEB_DEV":
22
  agent = prompt.WEB_DEV
 
52
 
53
  additional_inputs=[
54
  gr.Textbox(
55
+ label="Prompt",
56
  max_lines=1,
57
  interactive=True,
58
  ),