Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -22,13 +22,7 @@ def respond(
|
|
22 |
pipe = pipeline("text-generation", model=model)
|
23 |
|
24 |
yield pipe(
|
25 |
-
|
26 |
-
*message,
|
27 |
-
{
|
28 |
-
"role": "system",
|
29 |
-
"content": system_prompt
|
30 |
-
}
|
31 |
-
],
|
32 |
max_new_tokens=max_new_tokens,
|
33 |
do_sample=True,
|
34 |
temperature=temperature,
|
|
|
22 |
pipe = pipeline("text-generation", model=model)
|
23 |
|
24 |
yield pipe(
|
25 |
+
message,
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
max_new_tokens=max_new_tokens,
|
27 |
do_sample=True,
|
28 |
temperature=temperature,
|