Spaces:
Sleeping
Sleeping
import gradio as gr | |
alist=[] | |
def add2lis(num): | |
num=int(num) | |
alist.append(num) | |
return alist | |
iface = gr.Interface(fn=add2lis, inputs="text", outputs="text") | |
iface.launch() |