TheVera commited on
Commit
52ccaf8
·
verified ·
1 Parent(s): 6a42364

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -44,6 +44,7 @@ def generate_text():
44
  token = token.split()[0].strip(",.;:|") if token else ""
45
  if token not in ALLOWED:
46
  token = "other_query"
 
47
  return jsonify({"response": token})
48
  except Exception as e:
49
  return jsonify({"response": "other_query"}), 200
 
44
  token = token.split()[0].strip(",.;:|") if token else ""
45
  if token not in ALLOWED:
46
  token = "other_query"
47
+ print(token)
48
  return jsonify({"response": token})
49
  except Exception as e:
50
  return jsonify({"response": "other_query"}), 200