3

Gradio

 2 years ago
source link: https://gradio.app/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Gradio
Build & share delightful machine learning apps

Gradio is the fastest way to demo your machine learning model with a friendly web interface so that anyone can use it, anywhere!

Get Started with 5 lines of pure Python
Sketch Recognition
Question Answer
Image Segmentation
Speech Verification
View full code
import gradio as gr

def sketch_recognition(img):
  # Implement sketch recognition model here...
  # Return labels and confidences as dictionary

iface = gr.Interface(fn=sketch_recognition, inputs="sketchpad", outputs="label").launch()

Who wants to play Pictionary? Draw a common object like a shovel or a laptop, and the algorithm will guess in real time!

Used by machine learning teams big and small
google.svgamazon.svgfb.svgcisco.svgtwitter.svgvmware.svghuggingface.svgsiemens.svgmit-svg-50.pngstanford.svguipath.svgunifyid.svghumaniseai.svgfactmata.svgwns.png

Fast, easy setup

Gradio can be installed directly through pip. Creating a Gradio interface only requires adding a couple lines of code to your project. You can choose from a variety of interface types to interface your function.

Read more on Getting Started...

Present and share

Gradio can be embedded in Python notebooks or presented as a webpage. A Gradio interface can automatically generate a public link you can share with colleagues that lets them interact with the model on your computer remotely from their own devices.

Read more on Sharing...

Permanent hosting

Once you've created an interface, you can permanently host your interface on Huggingface Spaces. Huggingface Spaces will host the interface on its servers and provide you with a link you can share.

Read more on Hosting...

Integrates with all your favorite Python libraries
huggingface.svgjupyter.svgmatplotlib.svgnumpy.svgpytorch.svgscikit.svg
quote.png

Gradio is now an essential part of our ML demos. All it takes is a few minutes to make a demo come to life.

- Mohamed El-Geish, Director of AI at Cisco
quote.png

Gradio accelerated our efforts to build and demo interdisciplinary models by quickly letting clinicians interact with machine learning models without writing any code. It's a huge time-saver!

- David Ouyang, Cardiologist at Stanford Medicine
Dear #MachineLearning twitter,
If you haven't typed:
$ pip install gradio
yet, now would be a damn good time.
Especially if you are working in computer vision & deploying models in the real world. twitter.com/abidlabs/statu...
Having @GradioML deploy your model is like a test-of-time award, except it’s test-of-now. Open implementation, clear code, and actionable dataset has to skew towards better papers. twitter.com/GradioML/statu...
Build prototype UI for any kind of Machine Learning model with a single line of code, powered by @Gradio

🎉 It is framework agnostic - use
@PyTorch
@Tensorflow
@scikit_learn
or any of your fav. ML framework.

👉 Get started with a single line of code.
Pretty neat that @GradioML! 🐍🔥

+ Generate an easy-to-use UI for your #ML model, function, or #API with only a few lines of code!
+ Integrate directly into your @ProjectJupyter notebook
+ or share a link with anyone

h/t @VincentTerrasi
#MachineLearning
www.gradio.app
What's exciting about ML in 2021 is how the building blocks r coming together. Built this headline writer using:
- AutoNLP to finetune Bart
- @Gradio for the UI
- @huggingface's Spaces for hosting and compute
Try it here: https://huggingface.co/spa...
Honestly, without @Gradio, we would not be doing a real time AI trial. We have many other ideas for algorithms we want to test through clinical trials, and we know it's possible thanks to @Gradio.
logo.svg

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK