Tonic commited on
Commit
83aa350
1 Parent(s): 8d2dad8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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