Closed aliabd closed 1 month ago
• | Name | Status | URL |
---|---|---|---|
Spaces | Spaces preview | ||
Website | Details | ||
Storybook | Storybook preview | ||
:unicorn: | Changes | Details |
Install Gradio from this PR
pip install https://gradio-builds.s3.amazonaws.com/68cb1718f0fb5cee76da743d466065201b0b3401/gradio-4.31.5-py3-none-any.whl
Install Gradio Python Client from this PR
pip install "gradio-client @ git+https://github.com/gradio-app/gradio@68cb1718f0fb5cee76da743d466065201b0b3401#subdirectory=client/python"
Install Gradio JS Client from this PR
npm install https://gradio-builds.s3.amazonaws.com/68cb1718f0fb5cee76da743d466065201b0b3401/gradio-client-0.19.4.tgz
Package | Version |
---|---|
gradio |
minor |
website |
minor |
Editable Docs
Maintainers or the PR author can modify the PR title to modify this entry.
I'm running into an issue when testing this locally. I followed the instructions @aliabd you provided:
gradio/package.json
to have "version": "TEST.VERSION"
instead of 4.31.5js/_website
pnpm i
pnpm dev
I'm getting this error:
Error: Cannot find module '/Users/abidlabs/dev/gradio-repos/gradio/node_modules/.pnpm/vite@4.5.2_@types+node@20.3.2_less@4.2.0_lightningcss@1.21.7_sass@1.66.1_stylus@0.62.0_sugarss@4.0.1/node_modules/vite/bin/vite.js'
at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
at Module._load (node:internal/modules/cjs/loader:922:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12)
at node:internal/main/run_main_module:23:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Converts the docs to a template format.
js/_website/src/lib/templates/
directory and make the changes. All the jsons are still there to use and build the same way as before. Just runpnpm dev
again and the changes will be there.The build is failing because the current version bucket (4.31.5) on aws doesn't have the right jsons / templates. I can't manually change the format there because it will break the website. But i tested everything with a fake version.
If you want to test version vs main with the fake version just change /gradio/package.json to have "version": "TEST.VERSION" instead of 4.31.5 and run
pnpm dev
When we want to merge this, we should do it and release a new version. Alternatively, I can edit the jsons on 4.31.5 and then merge and rebuild the website.
I will write a proper readme / contributing guide for how to make changes to the website and build locally