Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Inthv
/
computing
like
0
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
76efa1d
computing
/
app.py
Inthv
Create app.py
76efa1d
over 2 years ago
raw
Copy download link
history
blame
190 Bytes
import
gradio
as
gr
aList = []
def
add2List
(
num
):
num =
int
(num)+
1
aList.append(num)
return
aList
iface = gr.Interface(fn=add2List, inputs=
"text"
, outputs=
"text"
)
iface.launch()