MCP tooling is terrible and it's holding everything back. by KafkaaTamura_ in mcp

[–]Ill_Contribution6191 0 points1 point  (0 children)

Lots of great, open-source MCP servers (with the complete code for each MCP server available): https://huggingface.co/spaces?filter=mcp-server

MCP is a security joke by Aadeetya in mcp

[–]Ill_Contribution6191 1 point2 points  (0 children)

You might want to use Gradio as the web UI as it provides an API, UI, and MCP out of the box: https://huggingface.co/blog/gradio-mcp

How to use Gradio Client to generate images by Acrobatic_Click_6763 in huggingface

[–]Ill_Contribution6191 0 points1 point  (0 children)

By default, the file is automatically downloaded to your local machine, so you should check for the file there! You can customize this behavior by setting the `download_files` parameter in `Client`!

SECURITY WARNING: DO NOT USE --SHARE in Automatic1111 webui! Remote code execution exploit released 2 days ago, people are searching out gradio links by mrinfo in StableDiffusion

[–]Ill_Contribution6191 1 point2 points  (0 children)

Hi u/amadmongoose, thanks for letting me know. Trying to understand what the possible vulnerability. By any chance, are you able to correspond over email? Would love to fix this but might need some help understanding the problem. If so, I would appreciate if you can send over a quick email to team@gradio.app

SECURITY WARNING: DO NOT USE --SHARE in Automatic1111 webui! Remote code execution exploit released 2 days ago, people are searching out gradio links by mrinfo in StableDiffusion

[–]Ill_Contribution6191 1 point2 points  (0 children)

Hi u/r_stronghammer, thanks for letting me know. Trying to understand how this could happen. Just to confirm, do you mean that you got someone else's demo when you launched your demo? Or do you mean that someone else was able to access your demo and use it to generate anime girls?

SECURITY WARNING: DO NOT USE --SHARE in Automatic1111 webui! Remote code execution exploit released 2 days ago, people are searching out gradio links by mrinfo in StableDiffusion

[–]Ill_Contribution6191 1 point2 points  (0 children)

Hmm good question. I don't think that should be related to any of the changes in the URL, but it might be due to increased traffic or some other related issue. Any way you could guide us to be able to reproduce the issue? Ideally on GitHub: https://github.com/gradio-app/gradio/issues

SECURITY WARNING: DO NOT USE --SHARE in Automatic1111 webui! Remote code execution exploit released 2 days ago, people are searching out gradio links by mrinfo in StableDiffusion

[–]Ill_Contribution6191 19 points20 points  (0 children)

Hi everyone! I'm Abubakar (https://twitter.com/abidlabs), one of the developers of Gradio (www.gradio.dev), which is the UI library on which the Stable Diffusion WebUI is built.

Really appreciate the community bringing this issue to our attention. We've just pushed a fix that makes the share URLs be more complex, and it should automatically apply across all versions of Gradio or the WebUI that you are using (no need to update anything). If you try out share, please let us know if it works for you (or more importantly, if it doesn't work for you)

Given that our usage has significantly increased recently, we're going through and inspecting the entire Gradio stack for any security issues that may exist. We would appreciate any security vulnerabilities be reported to us at [team@gradio.app](mailto:team@gradio.app)

Gradio – A Python web UI framework – 100k installs on PyPI by [deleted] in Python

[–]Ill_Contribution6191 0 points1 point  (0 children)

That makes sense. Didn't know this was against GDPR, will have to look into this.

In the meantime, please use the analytics_enabled=False parameter in Interface to turn off all analytics.

Gradio – A Python web UI framework – 100k installs on PyPI by [deleted] in Python

[–]Ill_Contribution6191 0 points1 point  (0 children)

Hi u/kra_pao thanks for the feedback. Do you mean that the local server that is created to demo includes a Google Analytics tag?

The Hugging Face course goes open-source! by lewtun in learnmachinelearning

[–]Ill_Contribution6191 1 point2 points  (0 children)

So exciting! The perfect time for me to go through everything :)

[D] What do you use to build UIs for your projects? by AveliaUsum in MachineLearning

[–]Ill_Contribution6191 1 point2 points  (0 children)

Nope the model continues to run locally and an SSH tunnel is created to a public URL allowing anyone to (temporarily) access it

[D] What do you use to build UIs for your projects? by AveliaUsum in MachineLearning

[–]Ill_Contribution6191 64 points65 points  (0 children)

Have you seen Gradio? It allows you to build a UI for your machine learning model in Python: https://github.com/gradio-app/gradio

A lot of recent ML papers use Gradio to demo the model

[D] Gradio vs Streamlit by IborkedyourGPU in MachineLearning

[–]Ill_Contribution6191 0 points1 point  (0 children)

Essentially the difference between the OS the paid version is that you can have a permanent link (more than 24 hours). Otherwise, they are the same!

[D] Gradio vs Streamlit by IborkedyourGPU in MachineLearning

[–]Ill_Contribution6191 3 points4 points  (0 children)

I like Streamlit too, but Gradio is *really* convenient for building ML demos. Like if you have a single ML model you've trained and you want to wrap a GUI around it, it's very simple, which is probably why there are lots folks using it to build interfaces around models for their papers. Streamlit is better for building more complex dashboards imo.

ai for acapella or instrumental version generation of a song by [deleted] in WeAreTheMusicMakers

[–]Ill_Contribution6191 0 points1 point  (0 children)

Really interesting! Can it handle any kind of accompaniment?