Spaces:
Running
on
Zero
Running
on
Zero
macadeliccc
commited on
Commit
·
434dec3
1
Parent(s):
3bc8972
test
Browse files
app.py
CHANGED
@@ -26,6 +26,8 @@ def start_ochat_server():
|
|
26 |
return f"Failed to start ochat server: {e}"
|
27 |
|
28 |
|
|
|
|
|
29 |
# Function to send a message to the ochat server and get a response
|
30 |
def chat_with_ochat(message):
|
31 |
url = "http://localhost:18888/v1/chat/completions"
|
|
|
26 |
return f"Failed to start ochat server: {e}"
|
27 |
|
28 |
|
29 |
+
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://localhost:18888/v1/chat/completions"
|