Skip to content

Commit

Permalink
fix(services/huggingface): Align with latest HuggingFace API (#5123)
Browse files Browse the repository at this point in the history
  • Loading branch information
morristai committed Sep 18, 2024
1 parent fec524f commit f2c5739
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions core/src/services/huggingface/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,6 @@ pub(super) struct HuggingfaceLastCommit {
#[allow(dead_code)]
pub(super) struct HuggingfaceSecurity {
pub blob_id: String,
pub name: String,
pub safe: bool,
pub av_scan: Option<HuggingfaceAvScan>,
pub pickle_import_scan: Option<HuggingfacePickleImportScan>,
Expand Down Expand Up @@ -363,7 +362,6 @@ mod tests {
}),
security: Some(HuggingfaceSecurity {
blob_id: "45fa7c3d85ee7dd4139adbc056da25ae136a65f2".to_string(),
name: "maelstrom/lib/maelstrom.jar".to_string(),
safe: true,
av_scan: Some(HuggingfaceAvScan {
virus_found: false,
Expand Down

0 comments on commit f2c5739

Please sign in to comment.