File size: 185 Bytes
cf38c1f
08562dd
 
 
 
 
cf38c1f
08562dd
cf38c1f
1
2
3
4
5
6
7
8
9
10
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()