Comments (5)
Hi @letmaik we no longer serve SVG files inline for security reasons. Please try with a different file image format, and it should work for you. We'll update the docs to clarify this
from gradio.
It might be worth raising an error or printing a warning when a .svg
file extension is used. Is there a flag to override the restriction? A local svg file that is known to be safe won't present a security risk.
from gradio.
Yes that's a good point, let us think about this
from gradio.
Ok so you can try installing gradio
from this PR: #9348 (review)
It should now work! Caveat: this is our 5.0-dev
branch, so you can expect to see some UI changes, etc. Let us know if you have any issues
from gradio.
Closed via #9348
from gradio.
Related Issues (20)
- AttributeError: 'AsyncRequest' object has no attribute '_json_response_data' HOT 7
- The code component does not respect min_width
- Cancelable Function Calls
- Remaining SSR todos
- Fix Plotly and Altair plots in `5.0-dev` branch HOT 2
- Is there anyway to restart a new recording with gr.Audio? HOT 1
- How to automatically expand gr.Tab ("1") when clicking on an event in gr.Tab ("2")? HOT 1
- Bug - Browser crashes when uploading long audio files with Audio component in Gradio 4
- Support .amr file for audio component HOT 1
- Create new themes for Gradio 5.0
- tharlea
- http://localhost:7860http://localhost:7860/info is not a valid URL. on resolve_root
- AttributeError: 'AsyncRequest' object has no attribute '_json_response_data' HOT 1
- show_copy_button feature in the chatbot have a callback function similar to chatbot.like?
- autofocus textbox HOT 2
- gr.Blocks: allow filepath for "head" argument HOT 2
- Custom Component : cc gradio build Error HOT 6
- stop_btn not working on gr.ChatInterface or with custom chat bot when retry_btn click - connection errored out error
- JavaScript in button.click() seems to not work as intended
- Can we make use of component in Gallery?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gradio.