File size: 149 Bytes
07141a9
378b6ef
07141a9
 
646c7e0
07141a9
6bbde53
646c7e0
1
2
3
4
5
6
7
8
9
import gradio as gr

def square(x):
  return x*x 

 # Create a Gradio interface
gr.Interface(fn=square, inputs="number",outputs="number").launch()