t4ai commited on
Commit
4cd9fb7
·
1 Parent(s): 137f440

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +19 -12
app.py CHANGED
@@ -88,15 +88,22 @@ rand_class_colors = generate_label_colors(len(classes))
88
  ####################################################
89
  # Main UX Loop
90
  ####################################################
91
- img = image_select(
92
- label="Select an airbase",
93
- images=[
94
- cv2.imread("images/edwards.jpg"),
95
- cv2.imread("images/edwards2.jpg"),
96
- ],
97
- captions=["Edwards AFB1", "Edwards AFB2"],
98
- )
99
-
100
- # process image through detector
101
- img2 = run_process_show(img)
102
- st.image(img2)
 
 
 
 
 
 
 
 
88
  ####################################################
89
  # Main UX Loop
90
  ####################################################
91
+ left_column, right_column = st.columns(2)
92
+
93
+ with left_column:
94
+ img = image_select(
95
+ label="Select an airbase",
96
+ images=[
97
+ cv2.imread("images/edwards.jpg"),
98
+ cv2.imread("images/edwards2.jpg"),
99
+ ],
100
+ captions=["Edwards AFB1", "Edwards AFB2"],
101
+ )
102
+
103
+ # process image through detector
104
+ img2 = run_process_show(img)
105
+ st.image(img2)
106
+
107
+ with right_column:
108
+ st.write(f"X F16s")
109
+ st.write(f"X B52s")