nit: remove `trendingScore` field from HuggingFace model entities, weird...

This commit is contained in:
Han Yin 2025-07-06 18:05:58 -07:00
parent fe9baace7f
commit 5138cb6a85
3 changed files with 1 additions and 3 deletions

View File

@ -19,7 +19,6 @@ data class HuggingFaceModel(
val gated: Boolean?, val gated: Boolean?,
val likes: Int?, val likes: Int?,
val trendingScore: Int?,
val downloads: Int?, val downloads: Int?,
val sha: String?, val sha: String?,

View File

@ -20,7 +20,6 @@ data class HuggingFaceModelDetails(
val gated: Boolean?, val gated: Boolean?,
val likes: Int?, val likes: Int?,
val trendingScore: Int?, // TODO-han.yin: ??
val downloads: Int?, val downloads: Int?,
val usedStorage: Long?, val usedStorage: Long?,

View File

@ -226,7 +226,7 @@ class ModelsManagementViewModel @Inject constructor(
Log.d(TAG, "Fetched ${models.size} models from HuggingFace:") Log.d(TAG, "Fetched ${models.size} models from HuggingFace:")
models.forEachIndexed { index, model -> models.forEachIndexed { index, model ->
Log.d(TAG, "#$index: ${model.id}") Log.d(TAG, "#$index: $model")
} }
} }
} }