Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,10 @@ def add2List(num):
|
|
| 5 |
num = int(num)
|
| 6 |
aList.append(num)
|
| 7 |
bList.append(num)
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
| 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()
|