File size: 372 Bytes
2f9c70c
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
import gradio as gr

def get_number(x, y):
    return f"Results = {float(x) * float(y)}"

iface = gr.Interface(fn=get_number, inputs=["number", "number"], outputs="text", 
                     title='Multiplication Table', 
                     description='Enter two numbers from your choice to multiply them.')

iface.launch(inline=False) #This helps to launch our app.