Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
samith-a
/
Django-code-model
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
e3d6072
Django-code-model
/
app.py
samith-a
test deploy
e3d6072
4 months ago
raw
Copy download link
history
blame
Safe
181 Bytes
import
gradio
as
gr
def
add
(
x, y
):
return
x + y
# Interface: define inputs and outputs
app = gr.Interface(fn=add, inputs=[
"number"
,
"number"
], outputs=
"number"
)
app.launch()