Small feedback ๐Ÿ’œ

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

Hello @EduardoPacheco great work!

It would be even better if you could add different hyperparameters and replace Run/Submit button with an event listener. See below with an example. What do you think?

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

Done!

EduardoPacheco changed discussion status to closed

Sign up or log in to comment