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