1. Your first app
Try firstHow does Gradio know which input goes to which parameter?
Check your answer
By order: the first input goes to the first parameter, the second to the second.
gr.Interfacewraps a function:fnis the function,inputsandoutputsare the boxes.- On Submit, Gradio calls the function with the inputs' values, in order.
- What the function returns appears in the output box.