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

Update app.py

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