Spaces:
Runtime error
Runtime error
| 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() |