mirror of
https://github.com/gradio-app/gradio.git
synced 2025-04-12 12:40:29 +08:00
Optimize images and gifs (#2922)
* convert gifs to html video * optimize images * changelog
This commit is contained in:
parent
325ba0df2b
commit
1ae01b2005
@ -78,6 +78,7 @@ No changes to highlight.
|
||||
* The `default_enabled` parameter of the `Blocks.queue` method has no effect by [@freddyaboulton](https://github.com/freddyaboulton) in [PR 2876](https://github.com/gradio-app/gradio/pull/2876)
|
||||
* Added typing to several Python files in codebase by [@abidlabs](https://github.com/abidlabs) in [PR 2887](https://github.com/gradio-app/gradio/pull/2887)
|
||||
* Excluding untracked files from demo notebook check action by [@aliabd](https://github.com/aliabd) in [PR 2897](https://github.com/gradio-app/gradio/pull/2897)
|
||||
* Optimize images and gifs by [@aliabd](https://github.com/aliabd) in [PR 2922](https://github.com/gradio-app/gradio/pull/2922)
|
||||
* Updated typing by [@1nF0rmed](https://github.com/1nF0rmed) in [PR 2904](https://github.com/gradio-app/gradio/pull/2904)
|
||||
|
||||
## Contributors Shoutout:
|
||||
|
@ -22,7 +22,9 @@ If you'd like to have a permanent link to your Gradio demo on the internet, use
|
||||
|
||||
You can either drag and drop a folder containing your Gradio model and all related files, or you can point Spaces to your Git repository and Spaces will pull the Gradio app from there. See [this guide how to host on Hugging Face Spaces](https://huggingface.co/blog/gradio-spaces) for more information.
|
||||
|
||||

|
||||
<video autoplay muted loop>
|
||||
<source src="/assets/guides/hf_demo.mp4" type="video/mp4" />
|
||||
</video>
|
||||
|
||||
## Embedding Hosted Spaces
|
||||
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 1.3 MiB |
Binary file not shown.
Before Width: | Height: | Size: 8.2 MiB |
BIN
guides/assets/hf_demo.mp4
Normal file
BIN
guides/assets/hf_demo.mp4
Normal file
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 236 KiB |
Binary file not shown.
Before Width: | Height: | Size: 197 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.4 MiB After Width: | Height: | Size: 395 KiB |
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
{% with title="Gradio Guides", url="https://gradio.app/guides", image="/assets/img/guides-meta.png", description="Step-by-Step Gradio Tutorials" %}
|
||||
{% with title="Gradio Guides", url="https://gradio.app/guides", image="/assets/img/meta-image.png", description="Step-by-Step Gradio Tutorials" %}
|
||||
{% include "templates/meta.html" %}
|
||||
{% endwith %}
|
||||
<link rel="stylesheet" href="/style.css">
|
||||
|
@ -67,6 +67,10 @@
|
||||
.prose > p > img {
|
||||
@apply max-w-full mx-auto my-0 w-4/5;
|
||||
}
|
||||
.prose > p > video {
|
||||
@apply max-w-full mx-auto my-0 w-4/5;
|
||||
}
|
||||
|
||||
.prose code::before {
|
||||
display: none;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user