GitHub Actions
commited on
Commit
·
9ed5c17
1
Parent(s):
a587664
Auto-deploy from GitHub Actions - 2025-12-12 09:06:23
Browse files- app/routes.py +1 -1
app/routes.py
CHANGED
|
@@ -5049,7 +5049,7 @@ def generate_tags(file_id):
|
|
| 5049 |
config = get_config()
|
| 5050 |
|
| 5051 |
ollama_response = requests.post(
|
| 5052 |
-
f"{config.
|
| 5053 |
json={
|
| 5054 |
'model': file.model_name,
|
| 5055 |
'prompt': prompt,
|
|
|
|
| 5049 |
config = get_config()
|
| 5050 |
|
| 5051 |
ollama_response = requests.post(
|
| 5052 |
+
f"{config.OLLAMA_BASE_URL}/api/generate",
|
| 5053 |
json={
|
| 5054 |
'model': file.model_name,
|
| 5055 |
'prompt': prompt,
|