neobot commited on
Commit
e3e7c89
·
1 Parent(s): e43f92e

display results in icon

Browse files
Files changed (1) hide show
  1. app.py +11 -2
app.py CHANGED
@@ -89,5 +89,14 @@ if st.button('Submit'):
89
  print(results)
90
 
91
  for result in results:
92
- st.write("---")
93
- st.json(result)
 
 
 
 
 
 
 
 
 
 
89
  print(results)
90
 
91
  for result in results:
92
+ col_icon, col_info = st.columns(2)
93
+
94
+ with col_icon:
95
+ st.image(result["logo"])
96
+
97
+ with col_info:
98
+ st.subheader(result['name'])
99
+ st.write(result["description"])
100
+
101
+ # st.write("---")
102
+ # st.json(result)