e3d6072 b10f07b e3d6072 b10f07b e3d6072 b10f07b e3d6072
1
2
3
4
5
6
7
8
9
10
import gradio as gr def add(x, y): return x + y # Interface: define inputs and outputs app = gr.Interface(fn=add, inputs=["number", "number"], outputs="number") app.launch()