Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,12 +36,7 @@ def get_response(User_input):
|
|
| 36 |
memory=ConversationBufferMemory()
|
| 37 |
)
|
| 38 |
|
| 39 |
-
|
| 40 |
-
conversation("I am Samyukta")
|
| 41 |
-
conversation.predict(input = "I stay in Hyderabad")
|
| 42 |
-
print(conversation.memory.buffer)
|
| 43 |
-
|
| 44 |
-
response = conversation.predict(input="What is my name?")
|
| 45 |
|
| 46 |
return response
|
| 47 |
|
|
|
|
| 36 |
memory=ConversationBufferMemory()
|
| 37 |
)
|
| 38 |
|
| 39 |
+
response = conversation.predict(input=User_input)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
|
| 41 |
return response
|
| 42 |
|