onrdmr commited on
Commit
38e2441
·
verified ·
1 Parent(s): 40b8da1

Update app.py

Browse files

3 parameter added

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -48,8 +48,8 @@ llama = Llama.from_pretrained(
48
 
49
  def respond(
50
  message,
51
- _,
52
- _
53
  ):
54
  # Construct the prompt
55
  prompt = f"{inference_params['pre_prompt_prefix']}{inference_params['pre_prompt']}\n\n{inference_params['input_prefix']}{message}{inference_params['input_suffix']}"
 
48
 
49
  def respond(
50
  message,
51
+ history: list[tuple[str, str]],
52
+ system_message,
53
  ):
54
  # Construct the prompt
55
  prompt = f"{inference_params['pre_prompt_prefix']}{inference_params['pre_prompt']}\n\n{inference_params['input_prefix']}{message}{inference_params['input_suffix']}"