Small feedback π
#2
by
merve
HF staff
- opened
@MuskanMjn
great work!!! π π
I have few minor feedbacks to make your demo even better:
- it would be nice to adjust the matplotlib plot to fit inside the plot component.
- Have the table of XOR operator below the actual demo itself
- Replace submit button with event listener, see an example below:
(replacesubmit_button.click()
withradio_button.change()
)
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()
Hi Merve! Thank you for the feedback. π€
Made the changes!
hey
@MuskanMjn
, the table seems very big, what do you think of making it a markdown table with gr.Markdown()
instead?