Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -8,10 +8,6 @@ OPENWEBUI_API_KEY = os.getenv("OPENWEBUI_API_KEY")
|
|
8 |
MODEL_NAME = os.getenv("MODEL_NAME", "phi3:latest") # Default to "phi3:latest" if not set
|
9 |
|
10 |
|
11 |
-
print("OPENWEBUI_URL:", os.getenv("OPENWEBUI_URL"))
|
12 |
-
print("OPENWEBUI_API_KEY:", os.getenv("OPENWEBUI_API_KEY"))
|
13 |
-
|
14 |
-
|
15 |
# Function to send messages to OpenWebUI
|
16 |
def chat_with_model(message, history):
|
17 |
if not OPENWEBUI_URL or not OPENWEBUI_API_KEY:
|
|
|
8 |
MODEL_NAME = os.getenv("MODEL_NAME", "phi3:latest") # Default to "phi3:latest" if not set
|
9 |
|
10 |
|
|
|
|
|
|
|
|
|
11 |
# Function to send messages to OpenWebUI
|
12 |
def chat_with_model(message, history):
|
13 |
if not OPENWEBUI_URL or not OPENWEBUI_API_KEY:
|