Aspik101 commited on
Commit
5bc97bd
1 Parent(s): d83feb2

Update app.py

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