Spaces:
Running
Running
Another attempt to fix mobile auth with app.py and readme
Browse files
README.md
CHANGED
|
@@ -10,11 +10,11 @@ header: mini
|
|
| 10 |
fullWidth: true
|
| 11 |
pinned: false
|
| 12 |
license: mit
|
|
|
|
| 13 |
---
|
| 14 |
|
| 15 |
# Conversational Assessment Tool (CAT)
|
| 16 |
|
| 17 |
-
|
| 18 |
**Course:** BUS 220 – Managerial Decision-Making
|
| 19 |
**Institution:** Borough of Manhattan Community College (BMCC), CUNY
|
| 20 |
**Instructor:** Brett Whysel
|
|
@@ -40,9 +40,10 @@ It helps students apply decision-making frameworks in realistic business and car
|
|
| 40 |
Respond as yourself — the tool won’t grade on right or wrong answers but on reasoning, clarity, and reflection.
|
| 41 |
|
| 42 |
3. **Receive Feedback**
|
| 43 |
-
CAT provides rubric-based feedback:
|
| 44 |
-
|
| 45 |
-
- **
|
|
|
|
| 46 |
- **Unsatisfactory** – incomplete or unclear reasoning
|
| 47 |
|
| 48 |
4. **Reflect & Submit**
|
|
@@ -53,32 +54,32 @@ It helps students apply decision-making frameworks in realistic business and car
|
|
| 53 |
## 💻 Tech Details
|
| 54 |
|
| 55 |
- **Frontend:** Gradio (Python)
|
| 56 |
-
- **Backend:** OpenAI GPT-4-turbo via API
|
| 57 |
-
- **Hosting:** Hugging Face Spaces
|
| 58 |
-
- **Dependencies:** `gradio`, `openai`, `python-dotenv`
|
| 59 |
- **Data Policy:** No personal data is stored or transmitted.
|
| 60 |
|
| 61 |
---
|
| 62 |
|
| 63 |
## 🧠 Pedagogical Alignment
|
| 64 |
|
| 65 |
-
- Supports BMCC’s mission for accessible, equity-centered education
|
| 66 |
-
- Develops NACE competencies: Critical Thinking, Communication, Technology
|
| 67 |
-
- Reinforces Uniquely Human Capacities: mindfulness, metacognition, ethical judgment
|
| 68 |
|
| 69 |
---
|
| 70 |
|
| 71 |
## 🧰 Developer Notes
|
| 72 |
|
| 73 |
-
- Update logic in `app.py` following the [CAT Technical Specification v3](#)
|
| 74 |
-
- Rebuild automatically triggers upon commit
|
| 75 |
- Add or update dependencies in `requirements.txt`
|
| 76 |
|
| 77 |
---
|
| 78 |
|
| 79 |
## 🪴 Acknowledgments
|
| 80 |
|
| 81 |
-
Based on
|
| 82 |
designed collaboratively with **BMCC Business Management Department** and **DecisionFish / Fifth Avenue Committee**.
|
| 83 |
|
| 84 |
---
|
|
|
|
| 10 |
fullWidth: true
|
| 11 |
pinned: false
|
| 12 |
license: mit
|
| 13 |
+
hf_oauth: true
|
| 14 |
---
|
| 15 |
|
| 16 |
# Conversational Assessment Tool (CAT)
|
| 17 |
|
|
|
|
| 18 |
**Course:** BUS 220 – Managerial Decision-Making
|
| 19 |
**Institution:** Borough of Manhattan Community College (BMCC), CUNY
|
| 20 |
**Instructor:** Brett Whysel
|
|
|
|
| 40 |
Respond as yourself — the tool won’t grade on right or wrong answers but on reasoning, clarity, and reflection.
|
| 41 |
|
| 42 |
3. **Receive Feedback**
|
| 43 |
+
CAT provides rubric-based feedback:
|
| 44 |
+
|
| 45 |
+
- **Excellent** – clear reasoning and ethical awareness
|
| 46 |
+
- **Satisfactory** – basic understanding with room for depth
|
| 47 |
- **Unsatisfactory** – incomplete or unclear reasoning
|
| 48 |
|
| 49 |
4. **Reflect & Submit**
|
|
|
|
| 54 |
## 💻 Tech Details
|
| 55 |
|
| 56 |
- **Frontend:** Gradio (Python)
|
| 57 |
+
- **Backend:** OpenAI GPT-4-turbo via API
|
| 58 |
+
- **Hosting:** Hugging Face Spaces
|
| 59 |
+
- **Dependencies:** `gradio`, `openai`, `python-dotenv`
|
| 60 |
- **Data Policy:** No personal data is stored or transmitted.
|
| 61 |
|
| 62 |
---
|
| 63 |
|
| 64 |
## 🧠 Pedagogical Alignment
|
| 65 |
|
| 66 |
+
- Supports BMCC’s mission for accessible, equity-centered education
|
| 67 |
+
- Develops NACE competencies: Critical Thinking, Communication, Technology
|
| 68 |
+
- Reinforces Uniquely Human Capacities: mindfulness, metacognition, ethical judgment
|
| 69 |
|
| 70 |
---
|
| 71 |
|
| 72 |
## 🧰 Developer Notes
|
| 73 |
|
| 74 |
+
- Update logic in `app.py` following the [CAT Technical Specification v3](#)
|
| 75 |
+
- Rebuild automatically triggers upon commit
|
| 76 |
- Add or update dependencies in `requirements.txt`
|
| 77 |
|
| 78 |
---
|
| 79 |
|
| 80 |
## 🪴 Acknowledgments
|
| 81 |
|
| 82 |
+
Based on _Instructors as Innovators_ (Mollick & Mollick, 2024) and
|
| 83 |
designed collaboratively with **BMCC Business Management Department** and **DecisionFish / Fifth Avenue Committee**.
|
| 84 |
|
| 85 |
---
|
app.py
CHANGED
|
@@ -129,6 +129,7 @@ def chat(user_msg, state):
|
|
| 129 |
# Gradio Interface
|
| 130 |
with gr.Blocks(title="CAT") as demo:
|
| 131 |
gr.Markdown("## 😼 Conversational Assessment Tool (CAT)")
|
|
|
|
| 132 |
|
| 133 |
with gr.Row():
|
| 134 |
module_dropdown = gr.Dropdown(
|
|
@@ -148,4 +149,4 @@ with gr.Blocks(title="CAT") as demo:
|
|
| 148 |
user_input.submit(chat, [user_input, state], [user_input, chatbot, state])
|
| 149 |
|
| 150 |
if __name__ == "__main__":
|
| 151 |
-
demo.launch(
|
|
|
|
| 129 |
# Gradio Interface
|
| 130 |
with gr.Blocks(title="CAT") as demo:
|
| 131 |
gr.Markdown("## 😼 Conversational Assessment Tool (CAT)")
|
| 132 |
+
gr.LoginButton()
|
| 133 |
|
| 134 |
with gr.Row():
|
| 135 |
module_dropdown = gr.Dropdown(
|
|
|
|
| 149 |
user_input.submit(chat, [user_input, state], [user_input, chatbot, state])
|
| 150 |
|
| 151 |
if __name__ == "__main__":
|
| 152 |
+
demo.launch()
|