tianlong12 commited on
Commit
162034c
·
verified ·
1 Parent(s): 33857b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -28,7 +28,8 @@ def forward_to_target(subpath):
28
 
29
  api_key = auth_header.split(" ")[1]
30
  #target_url = f"https://{subpath.split('/')[0]}"
31
- target_url = f"https://{subpath.split('/')[1]}/v1"
 
32
  '''
33
  model = data['model']
34
  messages = data['messages']
 
28
 
29
  api_key = auth_header.split(" ")[1]
30
  #target_url = f"https://{subpath.split('/')[0]}"
31
+ target_url = f"https://{subpath.split('/')[0]}/v1"
32
+ print(target_url)
33
  '''
34
  model = data['model']
35
  messages = data['messages']