More troubleshooting tips added

This commit is contained in:
Edward Donner
2024-12-27 17:30:17 +00:00
parent 8e2ec548be
commit b6c06fd010
3 changed files with 113 additions and 56 deletions

View File

@@ -187,7 +187,11 @@
"\n",
"This is how you could package your AI service behind an API to be used in a Production System.\n",
"\n",
"You can also build REST endpoints easily, although we won't cover that as we'll be calling direct from Python."
"You can also build REST endpoints easily, although we won't cover that as we'll be calling direct from Python.\n",
"\n",
"## Important note:\n",
"\n",
"On the next line, I call `modal deploy` from within Jupyter lab; I've heard that on some versions of Windows this gives a strange unicode error because modal prints emojis to the output which can't be displayed. If that happens to you, simply use an Anaconda Prompt window or a Powershell instead, with your environment activated, and type `modal deploy pricer_service` there. Follow the same approach the next time we do !modal deploy too."
]
},
{
@@ -227,6 +231,7 @@
"metadata": {},
"outputs": [],
"source": [
"# You can also run \"modal deploy pricer_service2\" at the command line in an activated environment\n",
"!modal deploy pricer_service2"
]
},