Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -61,7 +61,7 @@ def call_ollama_api(model, prompt):
|
|
61 |
}
|
62 |
try:
|
63 |
response = requests.post(
|
64 |
-
f"{arena_config.API_URL}/
|
65 |
headers=arena_config.HEADERS,
|
66 |
json=payload,
|
67 |
timeout=100
|
|
|
61 |
}
|
62 |
try:
|
63 |
response = requests.post(
|
64 |
+
f"{arena_config.API_URL}/chat/completions",
|
65 |
headers=arena_config.HEADERS,
|
66 |
json=payload,
|
67 |
timeout=100
|