Spaces:
Build error
Build error
Update llamacpp_python/base/chat-app.py
Browse files
llamacpp_python/base/chat-app.py
CHANGED
|
@@ -5,7 +5,7 @@ import os
|
|
| 5 |
import requests
|
| 6 |
|
| 7 |
# Get the model endpoint from the environment variable
|
| 8 |
-
model_service = os.getenv("MODEL_ENDPOINT", "http://127.0.0.1:
|
| 9 |
|
| 10 |
# Example function to call the model server
|
| 11 |
def call_model(prompt):
|
|
|
|
| 5 |
import requests
|
| 6 |
|
| 7 |
# Get the model endpoint from the environment variable
|
| 8 |
+
model_service = os.getenv("MODEL_ENDPOINT", "http://127.0.0.1:8000")
|
| 9 |
|
| 10 |
# Example function to call the model server
|
| 11 |
def call_model(prompt):
|