Skip to content

Commit

Permalink
READMEs
Browse files Browse the repository at this point in the history
  • Loading branch information
coyotte508 committed Dec 3, 2024
1 parent a791c08 commit 043a494
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/blob/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# 🤗 Hugging Face Blobs

Utilities to convert a string or URL to a [Blob](https://developer.mozilla.org/en-US/docs/Web/API/Blob) object, whether it represents a local file or remote URL.
Utilities to convert a string or URL to a [Blob](https://developer.mozilla.org/en-US/docs/Web/API/Blob) object, whether it represents a local file or a remote URL.

`fetch` already returns a `Blob` object for remote URLs, but it loads the entire file in memory. This utility makes ad-hoc http range requests when calling `.slice()` on the blob, for example.
`fetch` already returns a `Blob` object for remote URLs, but it loads the entire file in memory. This utility makes ad-hoc http range requests when calling `.slice()` on the blob.

## Install

Expand Down
5 changes: 1 addition & 4 deletions packages/dduf/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# 🤗 Hugging Face DDUF

Utilities to convert a string or URL to a [Blob](https://developer.mozilla.org/en-US/docs/Web/API/Blob) object, whether it represents a local file or remote URL.

`fetch` returns a `Blob` object for remote URLs, but it loads the entire file in memory. This utility makes an ad-hoc http range requests when calling `.slice()` on the blob, for example.
Very alpha version of a DDUF checker / parser.

## Install

Expand All @@ -29,7 +27,6 @@ import { checkDDUF } from "npm:@huggingface/dduf";
```ts
import { checkDDUF } from "@huggingface/dduf";


for await (const entry of checkDDUF(URL | Blob, { log: console.log })) {
console.log("file", entry);
}
Expand Down

0 comments on commit 043a494

Please sign in to comment.