Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ import json
|
|
| 5 |
|
| 6 |
# Set the Nebius API key
|
| 7 |
API_KEY = os.environ.get("NEBIUS_API_KEY")
|
| 8 |
-
API_URL = "https://api.studio.nebius.ai/v1/"
|
| 9 |
|
| 10 |
# Streamlit app configuration
|
| 11 |
st.set_page_config(page_title="Image to Prompt Converter", layout="centered", page_icon="🖼️")
|
|
|
|
| 5 |
|
| 6 |
# Set the Nebius API key
|
| 7 |
API_KEY = os.environ.get("NEBIUS_API_KEY")
|
| 8 |
+
API_URL = "https://api.studio.nebius.ai/v1/chat/completions"
|
| 9 |
|
| 10 |
# Streamlit app configuration
|
| 11 |
st.set_page_config(page_title="Image to Prompt Converter", layout="centered", page_icon="🖼️")
|