Neurolingua commited on
Commit
b72fe34
·
verified ·
1 Parent(s): 12226bd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -47,8 +47,7 @@ def whatsapp_webhook():
47
  sender = request.values.get('From')
48
  num_media = int(request.values.get('NumMedia', 0))
49
 
50
- chat_history = conversation_memory.get_memory()
51
-
52
  if num_media > 0:
53
  media_url = request.values.get('MediaUrl0')
54
  content_type = request.values.get('MediaContentType0')
 
47
  sender = request.values.get('From')
48
  num_media = int(request.values.get('NumMedia', 0))
49
 
50
+ chat_history = 0
 
51
  if num_media > 0:
52
  media_url = request.values.get('MediaUrl0')
53
  content_type = request.values.get('MediaContentType0')