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

Multimodal Textbox Loading + other fixes #7848

Merged
merged 7 commits into from Mar 27, 2024
Merged

Multimodal Textbox Loading + other fixes #7848

merged 7 commits into from Mar 27, 2024

Conversation

dawoodkhan82
Copy link
Collaborator

@dawoodkhan82 dawoodkhan82 commented Mar 26, 2024

Description

Replaces "send" emoji icon with svg.
Removed UploadProgress and added a progress loading animation
+some other small css fixes

Screenshot 2024-03-26 at 4 56 55 PM

Closes: #7768
Closes: #7812

🎯 PRs Should Target Issues

Before your create a PR, please check to see if there is an existing issue for this change. If not, please create an issue before you create this PR, unless the fix is very small.

Not adhering to this guideline will result in the PR being closed.

Tests

  1. PRs will only be merged if tests pass on CI. To run the tests locally, please set up your Gradio environment locally and run the tests: bash scripts/run_all_tests.sh

  2. You may need to run the linters: bash scripts/format_backend.sh and bash scripts/format_frontend.sh

@gradio-pr-bot
Copy link
Contributor

gradio-pr-bot commented Mar 26, 2024

🪼 branch checks and previews

Name Status URL
Spaces ready! Spaces preview
Website ready! Website preview
Storybook ready! Storybook preview
🦄 Changes detected! Details

Install Gradio from this PR

pip install https://gradio-builds.s3.amazonaws.com/a4878bcc4d8e4560b6086aae03d723c18deab7f9/gradio-4.23.0-py3-none-any.whl

Install Gradio Python Client from this PR

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

@gradio-pr-bot
Copy link
Contributor

gradio-pr-bot commented Mar 26, 2024

🦄 change detected

This Pull Request includes changes to the following packages.

Package Version
@gradio/icons patch
@gradio/multimodaltextbox patch
@gradio/upload patch
gradio patch
  • Maintainers can select this checkbox to manually select packages to update.

With the following changelog entry.

Multimodal Textbox Loading + other fixes

Maintainers or the PR author can modify the PR title to modify this entry.

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 update the changelog file directly.

@@ -74,7 +74,7 @@ def __init__(
render: bool = True,
text_align: Literal["left", "right"] | None = None,
rtl: bool = False,
submit_btn: str | Literal[False] = "",
submit_btn: str | Literal[False] = "",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better to use None I think? And we should mention in the docstring that if None, an svg of a send icon is used.

Suggested change
submit_btn: str | Literal[False] = "",
submit_btn: str | Literal[False] | None = None,

Copy link
Member

@abidlabs abidlabs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beautiful! Looks great. Just left one suggestion on the python side

Copy link
Member

@pngwn pngwn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thanks for taking care of this @dawoodkhan82 !

@abidlabs
Copy link
Member

Ok great, let me go ahead and merge this in so that we can get the release out!

@abidlabs abidlabs merged commit 8d7b3ca into main Mar 27, 2024
8 checks passed
@abidlabs abidlabs deleted the chatbot-loader branch March 27, 2024 19:31
@pngwn pngwn mentioned this pull request Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants