Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Jurk06
/
Trying
like
0
Build error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
Trying
/
app.py
Jurk06
Update app.py
6bbde53
over 1 year ago
raw
Copy download link
history
blame
contribute
delete
Safe
149 Bytes
import
gradio
as
gr
def
square
(
x
):
return
x*x
# Create a Gradio interface
gr.Interface(fn=square, inputs=
"number"
,outputs=
"number"
).launch()