Update app.py
Browse files
app.py
CHANGED
@@ -125,10 +125,7 @@ with demo:
|
|
125 |
with gr.Row():
|
126 |
generate_btn = gr.Button("Map Your Lesson Plan")
|
127 |
clear_btn = gr.Button("Clear Landscape")
|
128 |
-
|
129 |
-
search_output = gr.Textbox(label="Content Discovery Search String")
|
130 |
-
graph_output = gr.Image(label="Your Educational Landscape")
|
131 |
-
message_output = gr.Textbox(label="Landscape Status")
|
132 |
|
133 |
examples = [
|
134 |
["Sarah Johnson", "Oakville District School Board", "Earth Science", "Grade 7", "Understand the water cycle and its impact on Earth's climate", "Create a terrarium to model the water cycle", "Group presentation on terrarium observations", "Terrarium kit, climate diagrams"],
|
@@ -136,7 +133,10 @@ with demo:
|
|
136 |
]
|
137 |
|
138 |
gr.Examples(examples=examples, inputs=[teacher_name, school_board, subject, grade_level, learning_objective, activity, assessment, resource])
|
139 |
-
|
|
|
|
|
|
|
140 |
|
141 |
generate_btn.click(
|
142 |
add_to_graph,
|
|
|
125 |
with gr.Row():
|
126 |
generate_btn = gr.Button("Map Your Lesson Plan")
|
127 |
clear_btn = gr.Button("Clear Landscape")
|
128 |
+
|
|
|
|
|
|
|
129 |
|
130 |
examples = [
|
131 |
["Sarah Johnson", "Oakville District School Board", "Earth Science", "Grade 7", "Understand the water cycle and its impact on Earth's climate", "Create a terrarium to model the water cycle", "Group presentation on terrarium observations", "Terrarium kit, climate diagrams"],
|
|
|
133 |
]
|
134 |
|
135 |
gr.Examples(examples=examples, inputs=[teacher_name, school_board, subject, grade_level, learning_objective, activity, assessment, resource])
|
136 |
+
|
137 |
+
search_output = gr.Textbox(label="Content Discovery Search String")
|
138 |
+
graph_output = gr.Image(label="Your Educational Landscape")
|
139 |
+
message_output = gr.Textbox(label="Landscape Status")
|
140 |
|
141 |
generate_btn.click(
|
142 |
add_to_graph,
|