0.15.0 • Published 3 years ago

huggingface-widgets v0.15.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 years ago

Open-source version of the inference widgets from huggingface.co. Widgets allow anyone to do inference directly on the browser! For more information about widgets, please go to our documentation.

How to develop

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Build for Netlify

npm run build

Publish package

npm run publish

Contribution guideline

  1. Create a new branch to which you will be pushing your updates
  2. Use descriptive name for your branch (e.g. widget_object_detection)
  3. Create your widget in src/lib/InferenceWidget/widgets/[MyNewWidget].svelte
  4. Try to use as many components as possible from shared
  5. For the API contract, check out Accelerated Inference API doc & Integrating your library to the Hub
  6. For your widget, make sure to implement getOutput, isValidOutput, parseOutput (raise TypeError on invalid output), and all other necessary functions for your widget to work
  7. Submit a PR when done (or draft PR if you are still working on it & would like to collaborate)
  8. See previous widget PRs
0.11.0

3 years ago

0.13.0

3 years ago

0.15.0

3 years ago

0.9.0

3 years ago

0.7.0

3 years ago

0.12.0

3 years ago

0.14.0

3 years ago

0.8.0

3 years ago

0.5.0

3 years ago

0.4.0

3 years ago

0.6.0

3 years ago

0.0.40

3 years ago

0.0.41

3 years ago

0.0.65

3 years ago

0.0.43

3 years ago

0.0.67

3 years ago

0.0.68

3 years ago

0.0.60

3 years ago

0.0.51

3 years ago

0.0.52

3 years ago

0.0.32

3 years ago

0.0.55

3 years ago

0.0.33

3 years ago

0.0.56

3 years ago

0.0.57

3 years ago

0.0.58

3 years ago

0.0.70

3 years ago

0.3.0

3 years ago

0.2.0

3 years ago

0.0.31

3 years ago

0.0.30

3 years ago

0.0.25

3 years ago

0.0.24

3 years ago

0.0.23

3 years ago

0.0.22

3 years ago

0.0.21

3 years ago

0.0.20

3 years ago

0.0.18

3 years ago

0.0.17

3 years ago

0.0.16

3 years ago

0.0.15

3 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago