mirror of
https://github.com/gradio-app/gradio.git
synced 2025-02-23 11:39:17 +08:00
lite build fix: install build package (#6999)
* install build package * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
This commit is contained in:
parent
523c08fe30
commit
576b7ce827
5
.changeset/cruel-nights-move.md
Normal file
5
.changeset/cruel-nights-move.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@gradio/lite": minor
|
||||
---
|
||||
|
||||
feat:lite build fix: install build package
|
4
.github/workflows/publish-npm.yml
vendored
4
.github/workflows/publish-npm.yml
vendored
@ -25,7 +25,9 @@ jobs:
|
||||
npm_token: ${{ secrets.NPM_TOKEN }}
|
||||
skip_build: 'true'
|
||||
- name: Build packages
|
||||
run: pnpm --filter @gradio/client --filter @gradio/lite build
|
||||
run: |
|
||||
python -m pip install build
|
||||
pnpm --filter @gradio/client --filter @gradio/lite build
|
||||
- name: create and publish versions
|
||||
id: changesets
|
||||
uses: changesets/action@v1
|
||||
|
@ -30,7 +30,7 @@
|
||||
import gradio as gr
|
||||
|
||||
def greet(name):
|
||||
return "Hello, " + name + "!"
|
||||
return "Hello " + name + "!"
|
||||
|
||||
gr.Interface(fn=greet, inputs="text", outputs="text").launch()
|
||||
`,
|
||||
|
Loading…
Reference in New Issue
Block a user