尺寸提取功能优化

This commit is contained in:
MarSeventh
2026-01-30 17:15:22 +08:00
parent a03766a9f9
commit 013eb7cfee
21 changed files with 13 additions and 20 deletions

View File

@@ -90,6 +90,7 @@ export async function onRequestPost(context) {
Channel: "HuggingFace",
ChannelName: hfChannel.name || "HuggingFace_env",
FileSize: (fileSize / 1024 / 1024).toFixed(2),
FileSizeBytes: fileSize,
HfRepo: hfChannel.repo,
HfFilePath: filePath,
HfToken: hfChannel.token,