Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENG-1700 #45

Merged
merged 9 commits into from
Jan 13, 2025
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ let package = Package(
.target(
name: "HuggingFace",
dependencies: [
"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