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