Abdelrhman-Elruby commited on
Commit
6906bae
1 Parent(s): bbc8ad1

modified: main.py

Browse files
Files changed (1) hide show
  1. main.py +8 -1
main.py CHANGED
@@ -110,7 +110,14 @@ def home_page():
110
  f.close()
111
 
112
  with st.spinner('Model Running....'):
113
- col2.table(pred(st.session_state.image.name,radio,selbox,check))
 
 
 
 
 
 
 
114
 
115
 
116
 
 
110
  f.close()
111
 
112
  with st.spinner('Model Running....'):
113
+ res=pred(st.session_state.image.name,radio,selbox,check)
114
+ if check:
115
+ col2.write(res)
116
+ else :
117
+ col2.success(str(res))
118
+
119
+
120
+
121
 
122
 
123