AMR-KELEG commited on
Commit
8f6e384
·
1 Parent(s): 2fe3ef5

Update the methods documentation rendering

Browse files
Files changed (2) hide show
  1. app.py +3 -2
  2. requirements.txt +2 -1
app.py CHANGED
@@ -240,8 +240,9 @@ with tab2:
240
  }
241
  )
242
  with st.expander("Check the inference methods' short descriptions"):
243
- st.data_editor(inference_functions_df, hide_index=True)
244
-
 
245
  st.write(
246
  "Note: We are happy to discuss adding new custom inference methods for your models."
247
  )
 
240
  }
241
  )
242
  with st.expander("Check the inference methods' short descriptions"):
243
+ st.markdown(
244
+ inference_functions_df.to_markdown(index=False), unsafe_allow_html=True
245
+ )
246
  st.write(
247
  "Note: We are happy to discuss adding new custom inference methods for your models."
248
  )
requirements.txt CHANGED
@@ -3,4 +3,5 @@ torch
3
  datasets
4
  pandas
5
  numpy
6
- scikit-learn==1.5.2
 
 
3
  datasets
4
  pandas
5
  numpy
6
+ scikit-learn
7
+ tabulate