README / README.md
akhaliq's picture
akhaliq HF Staff
update blocks style
f9585d9
|
raw
history blame
3.47 kB
metadata
title: README
emoji: πŸ’»
colorFrom: indigo
colorTo: gray
sdk: static
pinned: false

Welcome to the Gradio Blocks Event πŸ‘‹ Gradio πŸ‘‹


Happy to invite you to the Gradio Blocks sprint - a community event in which we will setup and deploy models using the new Gradio Blocks feature. Blocks allows you to build web-based demos in a flexible way using the Gradio library. The event will take place from May 11th to 31st. We will be organizing this event on github and the huggingface discord channel.


What is Blocks?

If you have already used gradio.Interface, you know that you can easily create fully-fledged machine learning demos with just a few lines of code. The Interface API is very convenient but in some cases may not be sufficiently flexible for your needs. For example, you might want to:

 <ul>
     <li>Group together related demos as multiple tabs in one web app</li>
     <li>Change the layout of your demo instead of just having all of the inputs on the left and outputs on the right</li>
     <li>Have multi-step interfaces, in which the output of one model becomes the input to the next model, or have more flexible data flows in general</li>
     <li>Change a component's properties (for example, the choices in a Dropdown) or its visibilty based on user input</li>
  </ul>