bharatcoder commited on
Commit
49d0c72
·
verified ·
1 Parent(s): 17f1324

Initialise messages

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -25,6 +25,9 @@ def get_inference_client(selected_model):
25
  # Function to get a response from the chatbot
26
  def get_response(user_input, history, selected_model, system_prompt, temperature, max_tokens, top_p):
27
  client = get_inference_client(selected_model)
 
 
 
28
 
29
  # Add system message, if not empty
30
  if (len(system_prompt)) > 0:
 
25
  # Function to get a response from the chatbot
26
  def get_response(user_input, history, selected_model, system_prompt, temperature, max_tokens, top_p):
27
  client = get_inference_client(selected_model)
28
+
29
+ # messaages
30
+ messages = []
31
 
32
  # Add system message, if not empty
33
  if (len(system_prompt)) > 0: