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