Rahul8827 commited on
Commit
17d298a
1 Parent(s): 0ad312b

Upload app.py

Browse files
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 add_numbers(a, b):
4
+ return a + b
5
+
6
+ input_a = gr.inputs.Number(label="Number A")
7
+ input_b = gr.inputs.Number(label="Number B")
8
+
9
+ interface = gr.Interface(fn=add_numbers, inputs=[input_a, input_b], outputs="number", title="Addition Calculator")
10
+ interface.launch()