ayan4m1 commited on
Commit
6a4cab0
·
verified ·
1 Parent(s): 153d27f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -7
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,