File size: 185 Bytes
714f754
b5c7111
 
 
 
 
714f754
b5c7111
714f754
1
2
3
4
5
6
7
8
9
import gradio as gr
alist=[]
def add2list(num):
    num=int(num)
    alist.append(num)
    return alist

iface = gr.Interface(fn=tadd2list, inputs="text", outputs="text")
iface.launch()