Moreza009 commited on
Commit
e018ed2
·
1 Parent(s): f64e0b9
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -9,14 +9,13 @@ client = InferenceClient("Moreza009/aya23-8b-double-quantized")
9
 
10
  def respond(
11
  message,
12
- system_message,
13
  max_tokens,
14
  temperature,
15
  top_p,
16
  ):
17
- messages = [{"role": "system", "content": system_message}]
18
 
19
- messages.append({"role": "user", "content": message})
 
20
 
21
  response = ""
22
 
 
9
 
10
  def respond(
11
  message,
 
12
  max_tokens,
13
  temperature,
14
  top_p,
15
  ):
 
16
 
17
+
18
+ messages = {"role": "user", "content": f"{message}"}
19
 
20
  response = ""
21