ntam0001 commited on
Commit
2f9c70c
1 Parent(s): 0457192

Create app.py

Browse files

Multiplication Table

Files changed (1) hide show
  1. app.py +10 -0
app.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def get_number(x, y):
4
+ return f"Results = {float(x) * float(y)}"
5
+
6
+ iface = gr.Interface(fn=get_number, inputs=["number", "number"], outputs="text",
7
+ title='Multiplication Table',
8
+ description='Enter two numbers from your choice to multiply them.')
9
+
10
+ iface.launch(inline=False) #This helps to launch our app.