shariar076
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -75,7 +75,7 @@ def respond(
|
|
75 |
for chat in history:
|
76 |
context += f"রোগী: {chat[0]}\nথেরাপিস্ট: {chat[1]}\n"
|
77 |
|
78 |
-
answer = generate(message
|
79 |
temperature=temperature,
|
80 |
top_p=top_p,
|
81 |
max_new_tokens=max_tokens).split('### ANSWER:')[1]
|
|
|
75 |
for chat in history:
|
76 |
context += f"রোগী: {chat[0]}\nথেরাপিস্ট: {chat[1]}\n"
|
77 |
|
78 |
+
answer = generate(message, context,
|
79 |
temperature=temperature,
|
80 |
top_p=top_p,
|
81 |
max_new_tokens=max_tokens).split('### ANSWER:')[1]
|