Small feedback ๐Ÿ’œ

#1
by merve HF staff - opened
scikit-learn org

Awesome demo! ๐Ÿ‘ I was wondering if you could specify what is the alpha range sliders, it would be nice if you could put a label on them.

It would also be nice if you could replace submit button .click() with an event listeners with the sliders, e.g. slider.change(function, inputs, output) like below example.

import gradio as gr

def welcome(name):
    return f"Welcome to Gradio, {name}!"

with gr.Blocks() as demo:
    gr.Markdown(
    """
    # Hello World!
    Start typing below to see the output.
    """)
    inp = gr.Textbox(placeholder="What is your name?")
    out = gr.Textbox()
    inp.change(welcome, inp, out)

demo.launch()
scikit-learn org

Hi @merve , thanks for the feedback! I have done my best to incorporate it into the space. Do let me know if there is anything more that can be done.

Best,
Syed

Sign up or log in to comment