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...
2d8802e
computing
/
app.py
Inthv
Update app.py
2d8802e
over 2 years ago
raw
Copy download link
history
blame
237 Bytes
import
gradio
as
gr
aList = []
bList = []
def
add2List
(
num
):
num =
int
(num)
aList.append(num)
bList.append(num)
return
aList, bList
iface = gr.Interface(fn=add2List, inputs=
"text"
, outputs=[
"text"
,
"text"
])
iface.launch()