macadeliccc commited on
Commit
e70c8de
1 Parent(s): 9a367a8

concurrent users test

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def bot(history):
38
 
39
  # Function to send a message to the ochat server and get a response
40
  def chat_with_ochat(message):
41
- url = "http://0.0.0.0:18888/v1/chat/completions"
42
  headers = {"Content-Type": "application/json"}
43
  data = {
44
  "model": "openchat_3.5",
 
38
 
39
  # Function to send a message to the ochat server and get a response
40
  def chat_with_ochat(message):
41
+ url = "http://localhost:18888/v1/chat/completions"
42
  headers = {"Content-Type": "application/json"}
43
  data = {
44
  "model": "openchat_3.5",