Alimubariz124 commited on
Commit
40ca788
·
verified ·
1 Parent(s): d61824b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -273,7 +273,7 @@ if st.button('Submit'):
273
 
274
  # Use the second column to display the label aligned to the right with a border
275
  with col2:
276
- st.markdown(f"<div style='text-align: right; padding-right: 16px; border: 2px solid #f0f2f6; padding: 4px; border-radius: 5px; margin: 10px 0;'><strong>{predicted_label}</strong></div>", unsafe_allow_html=True)
277
 
278
 
279
  # Add prediction to the DataFrame
 
273
 
274
  # Use the second column to display the label aligned to the right with a border
275
  with col2:
276
+ st.markdown(f"<div style='text-align: right; padding-right: 16px; border: 2px solid #f0f2f6; padding: 4px; border-radius: 5px; margin: 10px 0;'><strong>{random_label}</strong></div>", unsafe_allow_html=True)
277
 
278
 
279
  # Add prediction to the DataFrame