Model_Cards_Writing_Tool2 / pages /4_⚠️_Limits_and_Risks.py
EinfachOlder's picture
Duplicate from huggingface/Model_Cards_Writing_Tool
a7f6bfc
import streamlit as st
from persist import persist, load_widget_state
global variable_output
def main():
cs_body()
def cs_body():
st.markdown('# Bias, Risks, and Limitations')
st.text_area("What are the known or foreseeable issues stemming from this model? Use this section to convey both technical and sociotechnical limitations",help="Provide an overview of the possible Limitations and Risks that may be associated with this model", key=persist("Model_Limits_n_Risks"), )
left, right = st.columns([2,4])
#st.markdown('### Model Description')
with left:
st.write("\n")
st.write("\n")
st.markdown('### Recommendations:')
with right:
#soutput_jinja = parse_into_jinja_markdown()
st.text_area("",help="How can the known or foreseeable issues be addressed?", key=persist("Recommendations"))
#st.write("\n")
if __name__ == '__main__':
load_widget_state()
main()