tianlong12 commited on
Commit
cd0b413
·
verified ·
1 Parent(s): 07a1a55

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ def forward_to_target(subpath):
24
  return jsonify({"error": "Unauthorized"}), 401
25
 
26
  api_key = auth_header.split(" ")[1]
27
- target_url = f"https://{subpath.split('/')[0]}"
28
 
29
  model = data['model']
30
  messages = data['messages']
 
24
  return jsonify({"error": "Unauthorized"}), 401
25
 
26
  api_key = auth_header.split(" ")[1]
27
+ target_url = f"https://{subpath.split('/')[1]}"
28
 
29
  model = data['model']
30
  messages = data['messages']