Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,7 +36,8 @@ def respond(
|
|
| 36 |
repeat_penalty,
|
| 37 |
selected_topic
|
| 38 |
):
|
| 39 |
-
|
|
|
|
| 40 |
|
| 41 |
print("HISTORY SO FAR ", history)
|
| 42 |
print("Selected topic:", selected_topic)
|
|
|
|
| 36 |
repeat_penalty,
|
| 37 |
selected_topic
|
| 38 |
):
|
| 39 |
+
# Use a valid message formatter type
|
| 40 |
+
chat_template = MessagesFormatterType.SIMPLE # Change to a valid type if DEFAULT is not available
|
| 41 |
|
| 42 |
print("HISTORY SO FAR ", history)
|
| 43 |
print("Selected topic:", selected_topic)
|