Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
liluxdev committed Jun 8, 2024
1 parent 88fae36 commit 489b94f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,7 @@ export const getModels = async () => {
export const ensureModelDownloaded = async (modelId) => {
console.error("Downloading model:", modelId);
const response = await axiosInstance.get(apiUrl + "models/download/"+modelId);
console.error("Model download:", response.message);
return response.message;
console.error("Model download:", response.data.message);
return response.data.message;
};

0 comments on commit 489b94f

Please sign in to comment.