sonobit commited on
Commit
b50499a
·
1 Parent(s): 776dfee

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -8,7 +8,7 @@ def add2List(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={"List A":"text","List B":"text","Max":"text","Min":"text"})
14
  iface.launch()
 
8
  bList.sort()
9
  MAX = max(aList)
10
  MIN = min(aList)
11
+ return {"List": aList, "List B":bList, "Max":MAX, "Min":MIN}
12
 
13
+ iface = gr.Interface(fn=add2List, inputs="text", outputs=["text","text","text","text"})
14
  iface.launch()