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