Reputation: 107
I have an image in my Github repository that I would like to upload and include as a Text Cell in my Google Colab Notebook. I am using the following command:
![picture](https://github.com/ivonnics/Machine-Learning/blob/master/Tabla%20Confussion%20Matrix.png)
But what I get is the following:
Is anyone aware of a solution or alternative to directly upload the requested image FROM MY GITHUB into my Notebook without intermediate steps? Thanking you in advance...
Upvotes: 4
Views: 3003
Reputation: 368
Upvotes: 4
Reputation: 1038
What worked for me:
![]({link})
, where {link} is the image address you copied in Step 3 (you can just paste the link).Upvotes: 1
Reputation: 40828
You need to change from
github.com
To
raw.githubusercontent.com
So, your image would be
![](https://raw.githubusercontent.com/ivonnics/Machine-Learning/master/Tabla%20Confussion%20Matrix.png)
As displayed here.
Upvotes: 3
Reputation: 419
Try using !wget https://your.link.png to download the file, and then use the picture code like you showed above.
Upvotes: 2