mrbeliever commited on
Commit
65cc833
·
verified ·
1 Parent(s): c8ade47

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ from openai import OpenAI
4
 
5
  # Initialize the Nebius OpenAI client
6
  client = OpenAI(
7
- base_url="https://api.studio.nebius.ai/v1/",
8
  api_key=os.getenv("NEBIUS_API_KEY"), # Use the environment variable
9
  )
10
 
 
4
 
5
  # Initialize the Nebius OpenAI client
6
  client = OpenAI(
7
+ base_url="https://api.studio.nebius.ai/v1/chat/completions",
8
  api_key=os.getenv("NEBIUS_API_KEY"), # Use the environment variable
9
  )
10