FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

feat: display image audio and video from url and tensor by anna-charlotte · Pull Request #1136 · docarray/docarray · GitHub

feat: display image audio and video from url and tensor - #1136

Merged
samsja merged 37 commits into
feat-rewrite-v2from
feat-display-img-audio-vid
Feb 17, 2023
Merged

feat: display image audio and video from url and tensor#1136
samsja merged 37 commits into
feat-rewrite-v2from
feat-display-img-audio-vid

Conversation

anna-charlotte commented Feb 15, 2023
edited
Loading

Copy link
Copy Markdown
Contributor

Add display for image, audio, video:

For all the following, add options for when displayed in notebook. Also make possible for remote urls as well as local files.

  • ImageTensor

  • ImageUrl

  • AudioTensor

  • AudioUrl

  • VideoTensor

  • VideoUrl

  • check and update documentation, if required. See guide

anna-charlotte changed the title Feat display img audio vid feat: display image audio and video from url and tensor Feb 15, 2023
anna-charlotte mentioned this pull request Feb 15, 2023
47 tasks
anna-charlotte added 23 commits February 15, 2023 16:18
Signed-off-by: anna-charlotte <charlotte.gerhaher@jina.ai>
Signed-off-by: anna-charlotte <charlotte.gerhaher@jina.ai>
Signed-off-by: anna-charlotte <charlotte.gerhaher@jina.ai>
Signed-off-by: anna-charlotte <charlotte.gerhaher@jina.ai>
Signed-off-by: anna-charlotte <charlotte.gerhaher@jina.ai>
Signed-off-by: anna-charlotte <charlotte.gerhaher@jina.ai>
Signed-off-by: anna-charlotte <charlotte.gerhaher@jina.ai>
Signed-off-by: anna-charlotte <charlotte.gerhaher@jina.ai>
Signed-off-by: anna-charlotte <charlotte.gerhaher@jina.ai>
Signed-off-by: anna-charlotte <charlotte.gerhaher@jina.ai>
Signed-off-by: anna-charlotte <charlotte.gerhaher@jina.ai>
Signed-off-by: anna-charlotte <charlotte.gerhaher@jina.ai>
Signed-off-by: anna-charlotte <charlotte.gerhaher@jina.ai>
Signed-off-by: anna-charlotte <charlotte.gerhaher@jina.ai>
Signed-off-by: anna-charlotte <charlotte.gerhaher@jina.ai>
Signed-off-by: anna-charlotte <charlotte.gerhaher@jina.ai>
Signed-off-by: anna-charlotte <charlotte.gerhaher@jina.ai>
Signed-off-by: anna-charlotte <charlotte.gerhaher@jina.ai>
Signed-off-by: anna-charlotte <charlotte.gerhaher@jina.ai>
Signed-off-by: anna-charlotte <charlotte.gerhaher@jina.ai>
Signed-off-by: anna-charlotte <charlotte.gerhaher@jina.ai>
Signed-off-by: anna-charlotte <charlotte.gerhaher@jina.ai>
Signed-off-by: anna-charlotte <charlotte.gerhaher@jina.ai>
anna-charlotte added 5 commits February 15, 2023 16:50
Signed-off-by: anna-charlotte <charlotte.gerhaher@jina.ai>
Signed-off-by: anna-charlotte <charlotte.gerhaher@jina.ai>
Signed-off-by: anna-charlotte <charlotte.gerhaher@jina.ai>
Signed-off-by: anna-charlotte <charlotte.gerhaher@jina.ai>
Signed-off-by: anna-charlotte <charlotte.gerhaher@jina.ai>
anna-charlotte force-pushed the feat-display-img-audio-vid branch from 00e1130 to 442dd29 Compare February 16, 2023 09:22
anna-charlotte added 4 commits February 16, 2023 10:23
Signed-off-by: anna-charlotte <charlotte.gerhaher@jina.ai>
Signed-off-by: anna-charlotte <charlotte.gerhaher@jina.ai>
Signed-off-by: anna-charlotte <charlotte.gerhaher@jina.ai>
github-actions Bot added size/m and removed size/l labels Feb 16, 2023
anna-charlotte added 3 commits February 16, 2023 15:26
…ay-img-audio-vid

Signed-off-by: anna-charlotte <charlotte.gerhaher@jina.ai>
Signed-off-by: anna-charlotte <charlotte.gerhaher@jina.ai>
Signed-off-by: anna-charlotte <charlotte.gerhaher@jina.ai>
anna-charlotte marked this pull request as ready for review February 16, 2023 15:35
:return: bytes
"""
bytes = BytesIO()
self.save(

anna-charlotte Feb 16, 2023
edited
Loading

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Here mypy complains because "T" has no attribute "save". Why does it no complain though in line 164 (b = self.to_bytes(audio_tensor=audio)), isn't to_bytes() just a method of VideoTensorMixin like save()?

Signed-off-by: anna-charlotte <charlotte.gerhaher@jina.ai>

Copy link
Copy Markdown

📝 Docs are deployed on https://ft-feat-display-img-audio-vid--jina-docs.netlify.app 🎉

samsja merged commit a90850d into feat-rewrite-v2 Feb 17, 2023
samsja deleted the feat-display-img-audio-vid branch February 17, 2023 08:56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL