Spaces:
Runtime error
Runtime error
update
Browse files
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 |
-
|
|
|
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 |
|