import gradio as gr def greet(number): return "number + 2 " iface = gr.Interface(fn=greet, inputs="number", outputs="number") iface.launch()