nit: remove `trendingScore` field from HuggingFace model entities, weird...
This commit is contained in:
parent
fe9baace7f
commit
5138cb6a85
|
|
@ -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?,
|
||||||
|
|
|
||||||
|
|
@ -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?,
|
||||||
|
|
|
||||||
|
|
@ -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")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue