File size: 856 Bytes
d460ca4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9d5aaba
d460ca4
9d5aaba
d460ca4
 
 
9d5aaba
d460ca4
 
 
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
### 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()