Skip to content

Commit

Permalink
Merge branch 'ENG-1700' of https://github.com/PreternaturalAI/AI
Browse files Browse the repository at this point in the history
# Conflicts:
#	Sources/HuggingFace/HuggingFace.Hub.Client.swift
  • Loading branch information
vmanot committed Jan 13, 2025
2 parents 074e4d0 + 5f90137 commit 32ed3e6
Show file tree
Hide file tree
Showing 7 changed files with 112 additions and 119 deletions.
3 changes: 2 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,8 @@ let package = Package(
.target(
name: "HuggingFace",
dependencies: [

"CoreMI",
"Swallow"
],
path: "Sources/HuggingFace",
swiftSettings: [
Expand Down
9 changes: 3 additions & 6 deletions Sources/HuggingFace/HuggingFace.Downloader.swift
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
//
// Downloader.swift
//
// Adapted from https://github.com/huggingface/swift-coreml-diffusers/blob/d041577b9f5e201baa3465bc60bc5d0a1cf7ed7f/Diffusion/Common/Downloader.swift
// Created by Pedro Cuenca on December 2022.
// See LICENSE at https://github.com/huggingface/swift-coreml-diffusers/LICENSE
// Copyright (c) Preternatural AI, Inc.
//

import Foundation
import Combine
import FoundationX
import Swallow

extension HuggingFace {
class Downloader: NSObject, ObservableObject {
Expand Down
Loading

0 comments on commit 32ed3e6

Please sign in to comment.