Jurk06 commited on
Commit
6bbde53
·
1 Parent(s): 07141a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -7
app.py CHANGED
@@ -4,11 +4,5 @@ def square(x):
4
  return x*x
5
 
6
  # Create a Gradio interface
7
- iface = gr.Interface(
8
- fn=square, # Specify your custom function
9
- inputs="number", # Input type (text in this example)
10
- outputs="number" # Output type (text in this example)
11
- )
12
 
13
- # Launch the Gradio interface
14
- iface.launch()
 
4
  return x*x
5
 
6
  # Create a Gradio interface
7
+ gr.Interface(fn=square, inputs="number",outputs="number").launch()
 
 
 
 
8