Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishekkrthakur committed Sep 30, 2024
1 parent 5a0e687 commit b42d8cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion colabs/image_classification.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"metadata": {},
"outputs": [],
"source": [
"%% writefile config.yml\n",
"%%writefile config.yml\n",
"task: image_classification # do not change\n",
"base_model: google/vit-base-patch16-224 # the model to be used from hugging face hub\n",
"project_name: autotrain-image-classification-model # the name of the project, must be unique\n",
Expand Down Expand Up @@ -47,6 +47,7 @@
"HF_USERNAME = userdata.get('HF_USERNAME')\n",
"HF_TOKEN = userdata.get('HF_TOKEN')\n",
"os.environ['HF_USERNAME'] = HF_USERNAME\n",
"\n",
"os.environ['HF_TOKEN'] = HF_TOKEN\n",
"!autotrain --config config.yml"
]
Expand Down

0 comments on commit b42d8cb

Please sign in to comment.