Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -9,14 +9,13 @@ client = InferenceClient(model)
|
|
9 |
def fn(
|
10 |
prompt,
|
11 |
#history: list[tuple[str, str]],
|
12 |
-
history,
|
13 |
#system_prompt,
|
14 |
max_tokens,
|
15 |
temperature,
|
16 |
top_p,
|
17 |
):
|
18 |
#messages = [{"role": "system", "content": system_prompt}]
|
19 |
-
|
20 |
#history.append({"role": "user", "content": prompt})
|
21 |
|
22 |
messages = [{"role": "user", "content": prompt}]
|
|
|
9 |
def fn(
|
10 |
prompt,
|
11 |
#history: list[tuple[str, str]],
|
12 |
+
history: list,
|
13 |
#system_prompt,
|
14 |
max_tokens,
|
15 |
temperature,
|
16 |
top_p,
|
17 |
):
|
18 |
#messages = [{"role": "system", "content": system_prompt}]
|
|
|
19 |
#history.append({"role": "user", "content": prompt})
|
20 |
|
21 |
messages = [{"role": "user", "content": prompt}]
|