computing / app.py
Inthv's picture
Update app.py
0017f84
raw
history blame
408 Bytes
import gradio as gr
import random as rd
aList = []
bList = []
def add2List(num):
num = int(num)
for i in range(nam):
r = rd.randint(1,100)
aList.append(r)
bList.append(r)
bList.sort()
MAX = max(aList)
MIN = min(aList)
return aList,bList,MAX,MIN
iface = gr.Interface(fn=add2List, inputs="text", outputs=["text","text","text","text"])
iface.launch()