corrected some sentences

This commit is contained in:
pritesh2000 committed 2024-08-30 03:46:09 +05:30
1 parent 71679e5708
commit db7fea212c
1 file changed
+5 -5
+5 -5
View File
@@ -2298,7 +2298,7 @@
"\n",
"To do so, let's turn our `effnetb2_stats` and `vit_stats` dictionaries into a pandas DataFrame.\n",
"\n",
"We'll add a column to view the model names as well as the convert the test accuracy to a whole percentage rather than decimal."
"We'll add a column to view the model names as well as convert the test accuracy to a whole percentage rather than decimal."
]
},
{
@@ -2598,7 +2598,7 @@
"\n",
"Why create a demo of your models?\n",
"\n",
"Because metrics on the test set look nice but you never really know how you're model performs until you use it in the wild.\n",
"Because metrics on the test set look nice but you never really know how your model performs until you use it in the wild.\n",
"\n",
"So let's get deploying!\n",
"\n",
@@ -2700,7 +2700,7 @@
"\n",
"We created a function earlier called `pred_and_store()` to make predictions with a given model across a list of target files and store them in a list of dictionaries.\n",
"\n",
"How about we create a similar function but this time focusing on a making a prediction on a single image with our EffNetB2 model?\n",
"How about we create a similar function but this time focusing on making a prediction on a single image with our EffNetB2 model?\n",
"\n",
"More specifically, we want a function that takes an image as input, preprocesses (transforms) it, makes a prediction with EffNetB2 and then returns the prediction (pred or pred label for short) as well as the prediction probability (pred prob).\n",
"\n",
@@ -3511,7 +3511,7 @@
"\n",
"Feel free to read the documentation on both options but we're going to go with option two.\n",
"\n",
"> **Note:** To host anything on Hugging Face, you will to [sign up for a free Hugging Face account](https://huggingface.co/join). "
"> **Note:** To host anything on Hugging Face, you will need to [sign up for a free Hugging Face account](https://huggingface.co/join). "
]
},
{
@@ -4907,7 +4907,7 @@
"4. Select a license (I used [MIT](https://opensource.org/licenses/MIT)).\n",
"5. Select Gradio as the Space SDK (software development kit). \n",
" * **Note:** You can use other options such as Streamlit but since our app is built with Gradio, we'll stick with that.\n",
"6. Choose whether your Space is it's public or private (I selected public since I'd like my Space to be available to others).\n",
"6. Choose whether your Space is public or private (I selected public since I'd like my Space to be available to others).\n",
"7. Click \"Create Space\".\n",
"8. Clone the repo locally by running: `git clone https://huggingface.co/spaces/[YOUR_USERNAME]/[YOUR_SPACE_NAME]` in terminal or command prompt.\n",
" * **Note:** You can also add files via uploading them under the \"Files and versions\" tab.\n",