Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -27,9 +27,9 @@ with gr.Blocks() as demo:
|
|
27 |
|
28 |
def bot(history):
|
29 |
print(history)
|
30 |
-
stream = llm(prompt = f"Jesteś AI assystentem. Odpowiadaj po
|
31 |
#stream = llm(prompt = f"{history}", **params)
|
32 |
-
#stream = llm(prompt = f"Jesteś AI assystentem. Odpowiadaj po
|
33 |
history[-1][1] = ""
|
34 |
answer_save = ""
|
35 |
for character in stream:
|
|
|
27 |
|
28 |
def bot(history):
|
29 |
print(history)
|
30 |
+
stream = llm(prompt = f"Jesteś AI assystentem. Odpowiadaj po polsku. <user>: {history}. <assistant>:", **params)
|
31 |
#stream = llm(prompt = f"{history}", **params)
|
32 |
+
#stream = llm(prompt = f"Jesteś AI assystentem. Odpowiadaj po polsku. {history}.", **params)
|
33 |
history[-1][1] = ""
|
34 |
answer_save = ""
|
35 |
for character in stream:
|