mrbeliever commited on
Commit
80e99aa
·
verified ·
1 Parent(s): cc3f25c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ def convert_image_to_base64(image):
13
 
14
  # Function to generate a caption using Nebius API
15
  def generate_caption(encoded_image):
16
- API_URL = "https://api.studio.nebius.ai/v1/chat/completions"
17
  API_KEY = os.environ.get("NEBIUS_API_KEY")
18
 
19
  headers = {
 
13
 
14
  # Function to generate a caption using Nebius API
15
  def generate_caption(encoded_image):
16
+ API_URL = "https://api.studio.nebius.ai/v1/"
17
  API_KEY = os.environ.get("NEBIUS_API_KEY")
18
 
19
  headers = {