Inthv commited on
Commit
f3359c0
·
1 Parent(s): 2d8802e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -5,7 +5,10 @@ def add2List(num):
5
  num = int(num)
6
  aList.append(num)
7
  bList.append(num)
8
- return aList, bList
 
 
 
9
 
10
- iface = gr.Interface(fn=add2List, inputs="text", outputs=["text","text"])
11
  iface.launch()
 
5
  num = int(num)
6
  aList.append(num)
7
  bList.append(num)
8
+ bList.sort()
9
+ MAX = max(aList)
10
+ MIN = min(aList)
11
+ return aList,bList,MAX,MIN
12
 
13
+ iface = gr.Interface(fn=add2List, inputs="text", outputs=["text","text""text","text"])
14
  iface.launch()