Add env to lite build (#7000)

* add venv

* comma

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
This commit is contained in:
Ali Abdalla 2024-01-11 03:22:22 +04:00 committed by GitHub
parent 576b7ce827
commit a7db8c1b8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 2 deletions

View File

@ -0,0 +1,5 @@
---
"@gradio/lite": minor
---
feat:Add env to lite build

View File

@ -26,7 +26,8 @@ jobs:
skip_build: 'true'
- name: Build packages
run: |
python -m pip install build
. venv/bin/activate
pip install build
pnpm --filter @gradio/client --filter @gradio/lite build
- name: create and publish versions
id: changesets

View File

@ -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()
`,