File size: 184 Bytes
e05f627
53caecc
 
 
 
 
e05f627
53caecc
e05f627
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()