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

SVG does not work with Gallery and Image #10261

Open
1 task done
akedia opened this issue Dec 28, 2024 · 1 comment · May be fixed by #10269
Open
1 task done

SVG does not work with Gallery and Image #10261

akedia opened this issue Dec 28, 2024 · 1 comment · May be fixed by #10269
Labels
bug Something isn't working Priority High priority issues Regression Bugs did not exist in previous versions of Gradio svelte Frontend-related issue (JS)

Comments

@akedia
Copy link

akedia commented Dec 28, 2024

Describe the bug

cannot use svg path as the value of gallery of Image, will not display any

image

Have you searched existing issues? 🔎

  • I have searched and found no existing issues

Reproduction

import gradio as gr

Screenshot

No response

Logs

No response

System Info

Operating System: Windows
gradio version: 5.9.0
gradio_client version: 1.5.2

Severity

Blocking usage of gradio

@akedia akedia added the bug Something isn't working label Dec 28, 2024
@abidlabs abidlabs added the Regression Bugs did not exist in previous versions of Gradio label Dec 29, 2024
@abidlabs
Copy link
Member

Indeed, I can reproduce this with a simple example:

import gradio as gr

with gr.Blocks() as demo:
    gr.Image("book.svg")

demo.launch()

It looks like a frontend issue since the file is processed correctly

@abidlabs abidlabs added svelte Frontend-related issue (JS) Priority High priority issues labels Dec 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Priority High priority issues Regression Bugs did not exist in previous versions of Gradio svelte Frontend-related issue (JS)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants