File size: 184 Bytes
2a74078
4a7a991
 
 
 
 
2a74078
4a7a991
2a74078
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=add2List, inputs="text", outputs="text")
iface.launch()