sujalrajpoot commited on
Commit
ee542af
·
verified ·
1 Parent(s): 89f7adc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -55,6 +55,7 @@ def generate_response(query:str) -> str:
55
  # Chat Endpoint
56
  @app.route("/chat", methods=["POST"])
57
  def chat():
 
58
  data = request.json
59
  api_key = data.get("api_key")
60
  message = data.get("message", "").strip()
 
55
  # Chat Endpoint
56
  @app.route("/chat", methods=["POST"])
57
  def chat():
58
+ global request_count
59
  data = request.json
60
  api_key = data.get("api_key")
61
  message = data.get("message", "").strip()