module2 / prompts /main_prompt.py
alibicer's picture
Update prompts/main_prompt.py
d460ca4 verified
raw
history blame
856 Bytes
### Welcome to Module 2: Solving a Ratio Problem Using Multiple Representations!
#### **Task:**
Jessica drives **90 miles in 2 hours**. If she drives at the same rate, how far does she travel in:
- **1 hour?**
- **½ hour?**
- **3 hours?**
To solve this, try using different representations:
- **Bar models**
- **Double number lines**
- **Ratio tables**
- **Graphs**
🔹 **Goal:** Don't just find the answer—**explain why**!
💬 I'll guide you step by step—let’s start with the **bar model**.
"""
import gradio as gr
from prompts.main_prompt import TASK_PROMPT # ✅ Correct import
# Function to start with the problem/task
def start_module():
return TASK_PROMPT # ✅ Ensures the module starts with the problem
# Hugging Face Interface
iface = gr.Interface(fn=start_module, inputs=[], outputs="text")
iface.launch()