File size: 417 Bytes
76efa1d
1e85546
fafcaf1
76efa1d
fafcaf1
 
0017f84
1e85546
 
 
 
f3359c0
 
 
 
76efa1d
3ad658c
76efa1d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import gradio as gr
import random as rd

def add2List(num):
    aList = []
    bList = []
    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()