Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
Mayonness
/
computing
like
0
Runtime error
App
Files
Files
Community
3544825
computing
/
app.py
Mayonness
Update app.py
3544825
over 1 year ago
raw
Copy download link
history
blame
No virus
185 Bytes
import
gradio
as
gr
alist=[]
def
add2list
(
num
):
num=
int
(num)
alist.addend(num)
return
alist
iface = gr.Interface(fn= add2list, inputs=
"text"
, outputs=
"text"
)
iface.launch()