fix(style): model readme img render

This commit is contained in:
jialin
2024-09-30 16:33:38 +08:00
parent 5f77a0082c
commit ea25291d75
10 changed files with 190 additions and 109 deletions
+2 -2
View File
@@ -197,12 +197,12 @@ export async function queryModelScopeModelDetail(
}
export async function queryModelScopeModelFiles(
params: { name: string },
params: { name: string; revision: string },
options?: any
) {
const res = await fetch(
`${MODE_SCOPE_MODEL_FIELS_API}${params.name}/repo/files?${qs.stringify({
Revision: 'master',
Revision: params.revision,
Recursive: true,
Root: ''
})}`,