rairo commited on
Commit
62fd453
·
1 Parent(s): 96af30c

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +3 -1
main.py CHANGED
@@ -78,7 +78,7 @@ def ask_pdfs(user_question):
78
 
79
  app = Flask(__name__)
80
 
81
- @app.route("/", methods=["POST"])
82
  def whatsapp():
83
 
84
  # user input
@@ -87,6 +87,8 @@ def whatsapp():
87
  # creating object of MessagingResponse
88
  response = MessagingResponse()
89
 
 
 
90
  # User Query
91
  q = user_msg
92
 
 
78
 
79
  app = Flask(__name__)
80
 
81
+ @app.route("/bot", methods=["POST"])
82
  def whatsapp():
83
 
84
  # user input
 
87
  # creating object of MessagingResponse
88
  response = MessagingResponse()
89
 
90
+ print(user_msg)
91
+
92
  # User Query
93
  q = user_msg
94