Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|
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
|