SII-InnoMegrez commited on
Commit
1786137
·
verified ·
1 Parent(s): bc9db78

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ def _chat_stream(model, tokenizer, query, history, temperature, top_p, max_outpu
48
  }
49
 
50
  try:
51
- API_URL = "http://8.152.0.142:8080/v1/chat/completions"
52
  response = requests.post(API_URL, headers=headers, data=json.dumps(payload), timeout=60, stream=True)
53
  response.raise_for_status()
54
  for chunk in get_streaming_response(response):
 
48
  }
49
 
50
  try:
51
+ API_URL = "http://8.152.0.142:10021/v1/chat/completions"
52
  response = requests.post(API_URL, headers=headers, data=json.dumps(payload), timeout=60, stream=True)
53
  response.raise_for_status()
54
  for chunk in get_streaming_response(response):