Aspik101 commited on
Commit
bc01b0b
·
1 Parent(s): 3ec7119

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ with gr.Blocks() as demo:
23
  return "", history + [[user_message, None]]
24
 
25
  def bot(history):
26
- stream = llm(prompt = f"Jesteś AI assystentem. Odpowiadaj po polski. <user>: {history}. <assistant>:", **params)
27
  history[-1][1] = ""
28
  for character in stream:
29
  history[-1][1] += character
 
23
  return "", history + [[user_message, None]]
24
 
25
  def bot(history):
26
+ stream = llm(prompt = f"Jesteś AI assystentem. Odpowiadaj po polsku. <user>: {history}. <assistant>:", **params)
27
  history[-1][1] = ""
28
  for character in stream:
29
  history[-1][1] += character