Skip to content

Commit

Permalink
Merge pull request #150 from uw-ssec/niki-workshop-changes
Browse files Browse the repository at this point in the history
fix: various repository changes for workshop
  • Loading branch information
atambay37 authored Mar 4, 2025
2 parents 38c7689 + a0e8c7c commit 832fb51
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 23 deletions.
5 changes: 4 additions & 1 deletion .devcontainer/Scipy2024/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@

"customizations": {
"vscode": {
"extensions": ["ms-toolsai.jupyter", "ms-python.python"]
"extensions": ["ms-toolsai.jupyter", "ms-python.python"],
"settings": {
"notebook.output.wordWrap": true
}
},
"codespaces": {
"openFiles": ["AI_Postdoc_workshop/README.md"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,15 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": null,
"id": "6dc9000f",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": null,
"id": "74deb2ae",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -143,7 +143,7 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": null,
"id": "0c585cf1",
"metadata": {},
"outputs": [],
Expand All @@ -153,7 +153,7 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": null,
"id": "90db94a7",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -239,7 +239,7 @@
},
{
"cell_type": "code",
"execution_count": 12,
"execution_count": null,
"id": "f66aeaa6",
"metadata": {},
"outputs": [],
Expand All @@ -249,7 +249,7 @@
},
{
"cell_type": "code",
"execution_count": 13,
"execution_count": null,
"id": "15",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -331,7 +331,7 @@
},
{
"cell_type": "code",
"execution_count": 18,
"execution_count": null,
"id": "86a34282",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -375,7 +375,7 @@
},
{
"cell_type": "code",
"execution_count": 20,
"execution_count": null,
"id": "25",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -526,7 +526,7 @@
},
{
"cell_type": "code",
"execution_count": 23,
"execution_count": null,
"id": "41",
"metadata": {},
"outputs": [],
Expand All @@ -544,7 +544,7 @@
},
{
"cell_type": "code",
"execution_count": 24,
"execution_count": null,
"id": "70b30f1c",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -596,7 +596,7 @@
},
{
"cell_type": "code",
"execution_count": 26,
"execution_count": null,
"id": "47",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -633,7 +633,7 @@
},
{
"cell_type": "code",
"execution_count": 28,
"execution_count": null,
"id": "50",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -714,7 +714,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "ssec-scipy2024",
"display_name": "notebook",
"language": "python",
"name": "python3"
},
Expand Down
20 changes: 11 additions & 9 deletions AI_Postdoc_Workshop/module2/2-olmo-chat-rag.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
},
{
"cell_type": "code",
"execution_count": 5,
"execution_count": null,
"id": "2",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -104,7 +104,7 @@
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": null,
"id": "3",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -173,7 +173,7 @@
},
{
"cell_type": "code",
"execution_count": 7,
"execution_count": null,
"id": "6",
"metadata": {},
"outputs": [],
Expand All @@ -200,7 +200,7 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": null,
"id": "7",
"metadata": {},
"outputs": [],
Expand All @@ -219,7 +219,7 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": null,
"id": "1a34ee0d",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -247,7 +247,7 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": null,
"id": "10",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -357,7 +357,7 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": null,
"id": "7b0820c6",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -413,7 +413,7 @@
},
{
"cell_type": "code",
"execution_count": 12,
"execution_count": null,
"id": "11",
"metadata": {},
"outputs": [],
Expand Down Expand Up @@ -464,7 +464,9 @@
"metadata": {},
"outputs": [],
"source": [
"pn.chat.ChatInterface(callback=callback).servable()"
"chat_interface = pn.chat.ChatInterface(callback=callback)\n",
"\n",
"pn.serve({\"/\": chat_interface}, port=5006, websocket_origin=\"*\", show=False)"
]
},
{
Expand Down

0 comments on commit 832fb51

Please sign in to comment.