e57999f 629f8d4 e57999f 629f8d4 e57999f
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()