Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
3d71752
1
Parent(s):
434dec3
test
Browse files
app.py
CHANGED
@@ -30,7 +30,7 @@ start_ochat_server()
|
|
30 |
|
31 |
# Function to send a message to the ochat server and get a response
|
32 |
def chat_with_ochat(message):
|
33 |
-
url = "http://
|
34 |
headers = {"Content-Type": "application/json"}
|
35 |
data = {
|
36 |
"model": "openchat_3.5",
|
|
|
30 |
|
31 |
# Function to send a message to the ochat server and get a response
|
32 |
def chat_with_ochat(message):
|
33 |
+
url = "http://0.0.0.0:18888/v1/chat/completions"
|
34 |
headers = {"Content-Type": "application/json"}
|
35 |
data = {
|
36 |
"model": "openchat_3.5",
|