Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -83,7 +83,7 @@ class ChatBot:
|
|
83 |
self.system_prompt = system_prompt
|
84 |
self.history = []
|
85 |
|
86 |
-
def predict(self, user_input):
|
87 |
# Combine the user's input with the system prompt in Falcon format
|
88 |
formatted_input = f"{{{{ {self.system_prompt} }}}}\nUser: {user_input}\nFalcon:"
|
89 |
|
|
|
83 |
self.system_prompt = system_prompt
|
84 |
self.history = []
|
85 |
|
86 |
+
def predict(self, user_input, system_prompt):
|
87 |
# Combine the user's input with the system prompt in Falcon format
|
88 |
formatted_input = f"{{{{ {self.system_prompt} }}}}\nUser: {user_input}\nFalcon:"
|
89 |
|