Jurk06 commited on
Commit
fe30e0b
·
1 Parent(s): f9e0677

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ def square(x):
4
+ return x*x
5
+
6
+ # Create a Gradio interface
7
+ iface=gr.Interface(fn=square, inputs="number",outputs="number")
8
+ iface.launch()