louiecerv commited on
Commit
6a2af70
Β·
1 Parent(s): 8e1e80c

sync to remote

Browse files
Files changed (1) hide show
  1. app.py +26 -1
app.py CHANGED
@@ -51,6 +51,31 @@ def main():
51
 
52
  # Streamlit UI
53
  st.title("Essay Grading System")
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
54
  tabs = ["Essay Question", "Scoring Rubric", "Grading Outputs"]
55
  selected_tab = st.sidebar.radio("Select a Tab", tabs)
56
 
@@ -64,7 +89,7 @@ def main():
64
  topic = st.text_input("Enter Topic", st.session_state.topic)
65
  else:
66
  topic = st.text_input("Enter Topic")
67
-
68
  difficulty = st.selectbox("Select Difficulty", ["Easy", "Moderate", "Difficult"])
69
 
70
  if st.button("Generate Question"):
 
51
 
52
  # Streamlit UI
53
  st.title("Essay Grading System")
54
+
55
+ about = """# πŸ“ Essay Grading System πŸŽ“
56
+
57
+ Welcome to the **Essay Grading System**! This interactive app helps educators generate essay questions, create scoring rubrics, and automate grading using AI.
58
+
59
+ ## πŸ“Œ Features
60
+ βœ… **Essay Question Generator** – Select a subject, topic, and difficulty to generate thought-provoking essay questions.
61
+ βœ… **Scoring Rubric Builder** – Automatically generate a rubric and refine it as needed.
62
+ βœ… **AI-Powered Grading** – Upload a photo of an exam paper and let AI assess it based on the rubric.
63
+
64
+ ## 🎯 How It Works
65
+ 1️⃣ **Go to the "Essay Question" tab** – Choose your subject, enter a topic, and set the difficulty.
66
+ 2️⃣ **Switch to "Scoring Rubric"** – A grading rubric is generated based on the question, and you can edit it.
67
+ 3️⃣ **Move to "Grading Outputs"** – Upload an image of a handwritten essay, and the AI will grade it based on the rubric.
68
+
69
+ πŸš€ **Enhance efficiency and accuracy in grading with this AI-assisted tool!**
70
+
71
+ ### πŸ“Œ About the Creator
72
+ **Created by:** *Louie F. Cervantes, M.Eng. (Information Engineering)*
73
+ **(c) 2025 West Visayas State University**
74
+ """
75
+
76
+ with st.expander("About the App"):
77
+ st.markdown(about)
78
+
79
  tabs = ["Essay Question", "Scoring Rubric", "Grading Outputs"]
80
  selected_tab = st.sidebar.radio("Select a Tab", tabs)
81
 
 
89
  topic = st.text_input("Enter Topic", st.session_state.topic)
90
  else:
91
  topic = st.text_input("Enter Topic")
92
+
93
  difficulty = st.selectbox("Select Difficulty", ["Easy", "Moderate", "Difficult"])
94
 
95
  if st.button("Generate Question"):