Update app.py
Browse files
app.py
CHANGED
|
@@ -8,9 +8,9 @@ from langchain.llms import GooglePalm
|
|
| 8 |
# Define chatbot response function
|
| 9 |
def chatbot_response(user_input, history):
|
| 10 |
# Example: returning a placeholder response, update with actual chatbot logic
|
| 11 |
-
bot_response = "You said: " + user_input
|
| 12 |
-
history.append((user_input, bot_response))
|
| 13 |
-
return
|
| 14 |
|
| 15 |
# Define text splitter function
|
| 16 |
def text_splitter_function(text):
|
|
|
|
| 8 |
# Define chatbot response function
|
| 9 |
def chatbot_response(user_input, history):
|
| 10 |
# Example: returning a placeholder response, update with actual chatbot logic
|
| 11 |
+
# bot_response = "You said: " + user_input
|
| 12 |
+
# history.append((user_input, bot_response))
|
| 13 |
+
return "hii"
|
| 14 |
|
| 15 |
# Define text splitter function
|
| 16 |
def text_splitter_function(text):
|