Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,8 @@ class FalconChatBot:
|
|
51 |
return filtered_history
|
52 |
|
53 |
|
54 |
-
|
|
|
55 |
# Process the history to remove special commands
|
56 |
processed_history = self.process_history(history)
|
57 |
|
|
|
51 |
return filtered_history
|
52 |
|
53 |
|
54 |
+
def predict(self, system_prompt, user_message, assistant_message, history, temperature, max_new_tokens, top_p, repetition_penalty):
|
55 |
+
|
56 |
# Process the history to remove special commands
|
57 |
processed_history = self.process_history(history)
|
58 |
|