Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,7 @@ def generate_caption(image_base64, api_key):
|
|
| 19 |
api_url = "https://api.studio.nebius.ai/v1/chat/completions"
|
| 20 |
headers = {"Authorization": f"Bearer {api_key}"}
|
| 21 |
payload = {
|
| 22 |
-
"model": "
|
| 23 |
"messages": [
|
| 24 |
{
|
| 25 |
"role": "system",
|
|
|
|
| 19 |
api_url = "https://api.studio.nebius.ai/v1/chat/completions"
|
| 20 |
headers = {"Authorization": f"Bearer {api_key}"}
|
| 21 |
payload = {
|
| 22 |
+
"model": "mistralai/Mistral-Small-3.1-24B-Instruct-2503",
|
| 23 |
"messages": [
|
| 24 |
{
|
| 25 |
"role": "system",
|