Inthv commited on
Commit
1e85546
·
1 Parent(s): 3ad658c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -3
app.py CHANGED
@@ -1,10 +1,13 @@
1
  import gradio as gr
 
2
  aList = []
3
  bList = []
4
  def add2List(num):
5
- num = int(num)
6
- aList.append(num)
7
- bList.append(num)
 
 
8
  bList.sort()
9
  MAX = max(aList)
10
  MIN = min(aList)
 
1
  import gradio as gr
2
+ import random as rd
3
  aList = []
4
  bList = []
5
  def add2List(num):
6
+ num = int(num
7
+ for i in range(nam):
8
+ r = rd.randint(1,100)
9
+ aList.append(r)
10
+ bList.append(r)
11
  bList.sort()
12
  MAX = max(aList)
13
  MIN = min(aList)