diff --git a/jupyter_mentor/educator_course_overview.py b/jupyter_mentor/educator_course_overview.py index 2ea7b8d..6aed794 100644 --- a/jupyter_mentor/educator_course_overview.py +++ b/jupyter_mentor/educator_course_overview.py @@ -21,7 +21,7 @@ def __init__(self, file_viewer): self.file_upload = FileUpload(accept='', multiple=False) # global file viewer (that has model) - self.file_viewer = file_viewer + #self.file_viewer = file_viewer # Course overview text self.course_overview_text = v.TextField(label='Course Overview:', placeholder='Enter course overview') @@ -57,7 +57,6 @@ def __init__(self, file_viewer): self.children = [ self.header, # Heading HBox([self.file_upload]), # File upload button - self.file_viewer, self.course_overview_text, # Course overview self.ai_guidelines_label, # AI Guidelines VBox([self.step_by_step_checkbox, self.metaphor_checkbox, diff --git a/nbs/04_educator_course_overview.ipynb b/nbs/04_educator_course_overview.ipynb index 953892c..f00ce96 100644 --- a/nbs/04_educator_course_overview.ipynb +++ b/nbs/04_educator_course_overview.ipynb @@ -12,7 +12,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 54, "id": "0320fe7e-0ec7-4dd1-90c2-74a3e25bab86", "metadata": {}, "outputs": [], @@ -28,7 +28,7 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 59, "id": "f0e47085-1303-4292-b752-0ee05eef872d", "metadata": {}, "outputs": [], @@ -43,7 +43,7 @@ " self.file_upload = FileUpload(accept='', multiple=False)\n", "\n", " # global file viewer (that has model)\n", - " self.file_viewer = file_viewer\n", + " #self.file_viewer = file_viewer\n", " \n", " # Course overview text\n", " self.course_overview_text = v.TextField(label='Course Overview:', placeholder='Enter course overview')\n", @@ -79,7 +79,6 @@ " self.children = [\n", " self.header, # Heading\n", " HBox([self.file_upload]), # File upload button\n", - " self.file_viewer,\n", " self.course_overview_text, # Course overview\n", " self.ai_guidelines_label, # AI Guidelines\n", " VBox([self.step_by_step_checkbox, self.metaphor_checkbox,\n", @@ -91,14 +90,14 @@ }, { "cell_type": "code", - "execution_count": null, + "execution_count": 60, "id": "54fb4f23-dabc-4109-a482-feee5c130f36", "metadata": {}, "outputs": [ { "data": { "application/vnd.jupyter.widget-view+json": { - "model_id": "bc686214fda847ccabdeac24bd13a0b9", + "model_id": "7dfa2b4a73e240a78060c514e3c1cc29", "version_major": 2, "version_minor": 0 }, @@ -106,7 +105,7 @@ "EducatorCourseOverview(children=(Container(children=[Html(attributes={'title': 'a title'}, children=['Educator…" ] }, - "execution_count": null, + "execution_count": 60, "metadata": {}, "output_type": "execute_result" } @@ -119,7 +118,7 @@ }, { "cell_type": "code", - "execution_count": 53, + "execution_count": 61, "id": "11872b33-a907-4acb-9537-0a2f4237d791", "metadata": {}, "outputs": [], @@ -139,9 +138,21 @@ ], "metadata": { "kernelspec": { - "display_name": "python3", + "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.8.19" } }, "nbformat": 4,