Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding instructions on how to build Gradio-Lite locally #6870

Merged
merged 11 commits into from Dec 27, 2023

Conversation

abidlabs
Copy link
Member

@abidlabs abidlabs commented Dec 22, 2023

Plus some minor changes to the contributing doc

@gradio-pr-bot
Copy link
Contributor

gradio-pr-bot commented Dec 22, 2023

🪼 branch checks and previews

Name Status URL
Spaces ready! Spaces preview
Website failed! Details
Storybook ready! Storybook preview
Visual tests 1 failing test Build review
🦄 Changes detected! Details

Install Gradio from this PR

pip install https://gradio-builds.s3.amazonaws.com/7c656c4f1464f836571d58dc3b6dd3b09f9ef315/gradio-4.12.0-py3-none-any.whl

Install Gradio Python Client from this PR

pip install "gradio-client @ git+https://github.com/gradio-app/gradio@7c656c4f1464f836571d58dc3b6dd3b09f9ef315#subdirectory=client/python"

@gradio-pr-bot
Copy link
Contributor

gradio-pr-bot commented Dec 22, 2023

🦄 no changes detected

This Pull Request does not include changes to any packages.

__No changes detected. __

  • Maintainers can select this checkbox to manually select packages to update.

Something isn't right?

  • Maintainers can change the version label to modify the version bump.
  • If the bot has failed to detect any changes, or if this pull request needs to update multiple packages to different versions or requires a more comprehensive changelog entry, maintainers can create the changelog file directly.

scripts/launch_lite.sh Outdated Show resolved Hide resolved
scripts/build_lite.sh Outdated Show resolved Hide resolved
scripts/launch_lite.sh Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
scripts/launch_lite.sh Outdated Show resolved Hide resolved
@whitphx
Copy link
Member

whitphx commented Dec 26, 2023

@abidlabs I added some changes. Please check it, thanks.

@abidlabs
Copy link
Member Author

abidlabs commented Dec 26, 2023

Thanks @whitphx for updating the scripts! I renamed the launch_lite.sh script to run_lite.sh to be more parallel with run_frontend.sh and build_frontend.sh.


When I run build_lite.sh and run_lite.sh, both of the scripts run successfully, but I see some errors when opening the webpage in my browser in both cases.

For run_lite.sh, I see:

image

The console is not particularly helpful:

image

For build_lite.sh, again the script runs successfully in the terminal, but then I see:

image

in the browser, with the console basically showing the same error.

Are these errors expected?

@whitphx
Copy link
Member

whitphx commented Dec 27, 2023

@abidlabs Thanks!

For run_lite.sh

For build_lite.sh

Found a bug, sorry. I created the fix: #6887

@abidlabs abidlabs added the v: patch A change that requires a patch release label Dec 27, 2023
@abidlabs
Copy link
Member Author

Thanks so much @whitphx for the fixes! Looks like everything is now working as expected

@abidlabs abidlabs merged commit 53b95f8 into main Dec 27, 2023
19 of 25 checks passed
@abidlabs abidlabs deleted the lite-instructions branch December 27, 2023 08:38
@whitphx
Copy link
Member

whitphx commented Dec 27, 2023

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v: patch A change that requires a patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants