Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
machineuser commited on
Commit ·
790ed2e
1
Parent(s): 0757360
Sync widgets demo
Browse files15 unmodified lines1617181919202122232425262728296 unmodified lines3637383940414243444546474849505115 unmodified lines
```consolepnpm installpnpm devpnpm dev --open```
If you are submitting a PR, make sure that you run `format` & `lint` before submitting the PR:
```consolepnpm formatpnpm lint```
If you want to try the "Sign-in with HF" feature locally, you will need to https://huggingface.co/settings/applications/new an OAuth application with `"openid"`, `"profile"` and `"inference-api"` scopes and `http://localhost:5173/auth/callback/huggingface` as the redirect URL.6 unmodified lines```
If you want to try the "Sign-in with HF" feature in a Space, you can just duplicate https://huggingface.co/spaces/huggingfacejs/inference-widgets, it should work out of the box thanks to the metadata in the `README.md` file.
## Testing for moon (for huggingface admins)
```consolepnpm ipnpm build```
And then inside moon, run the following command for both `server` & `front`:
```consolenpm i --save @huggingface/widgets@<relative path to huggingface.js/packages/widgets>```packages/widgets/README.md+21-1