Spaces:
Runtime error
Runtime error
File size: 1,991 Bytes
c1c1923 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 |
import streamlit as st
from persist import persist, load_widget_state
from pathlib import Path
from middleMan import apply_view,writingPrompt
global variable_output
def main():
cs_body()
def cs_body():
#stateVariable = 'Model_Eval'
#help_text ='Detail the Evaluation Results for this model'
#col1.header('Model Evaluation')
st.markdown('# Evaluation')
st.text_area(" This section describes the evaluation protocols and provides the results. ",help="Detail the Evaluation Results for this model")
st.markdown('## Testing Data, Factors & Metrics:')
left, right = st.columns([2,4])
#st.markdown('### Model Description')
with left:
st.write("\n")
st.write("\n")
st.markdown('#### Testing Data:')
st.write("\n")
st.write("\n")
st.write("\n")
st.write("\n")
st.write("\n")
st.write("\n")
#st.write("\n")
st.markdown('#### Factors:')
st.write("\n")
st.write("\n")
st.write("\n")
st.write("\n")
st.write("\n")
st.write("\n")
st.markdown('#### Metrics:')
st.write("\n")
st.write("\n")
st.write("\n")
st.write("\n")
st.write("\n")
st.markdown('#### Results:')
with right:
#soutput_jinja = parse_into_jinja_markdown()
st.text_area("", help="Ideally this links to a Dataset Card.",key=persist("Testing_Data"))
#st.write("\n")
st.text_area("",help="What are the foreseeable characteristics that will influence how the model behaves? This includes domain and context, as well as population subgroups.",key=persist("Factors"))
st.text_area("", help="What metrics will be used for evaluation in light of tradeoffs between different errors?", key=persist("Metrics"))
st.text_area("", key=persist("Model_Results"))
if __name__ == '__main__':
load_widget_state()
main() |