teragron commited on
Commit
e507614
·
verified ·
1 Parent(s): c447887

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -7,6 +7,11 @@ OPENWEBUI_URL = os.getenv("OPENWEBUI_URL")
7
  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
  # Function to send messages to OpenWebUI
11
  def chat_with_model(message, history):
12
  if not OPENWEBUI_URL or not OPENWEBUI_API_KEY:
 
7
  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: