yangtb24 commited on
Commit
b474dc0
·
verified ·
1 Parent(s): e7b000c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -307,7 +307,7 @@ def handsome_chat_completions():
307
  return jsonify({"error": "Unauthorized"}), 401
308
 
309
  data = request.get_json()
310
- logging.debug(f"Request data: {data}")
311
  if not data or 'model' not in data:
312
  return jsonify({"error": "Invalid request data"}), 400
313
  if data['model'] not in models["text"] and data['model'] not in models["image"]:
 
307
  return jsonify({"error": "Unauthorized"}), 401
308
 
309
  data = request.get_json()
310
+ logging.info(f"Request data: {data}")
311
  if not data or 'model' not in data:
312
  return jsonify({"error": "Invalid request data"}), 400
313
  if data['model'] not in models["text"] and data['model'] not in models["image"]: