Skip to content

Instantly share code, notes, and snippets.

@PalomaRS
Created November 20, 2018 10:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PalomaRS/bc2acfa213ef00d869702606bb586006 to your computer and use it in GitHub Desktop.
Save PalomaRS/bc2acfa213ef00d869702606bb586006 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"cell_type": "code",
"execution_count": 14,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"{'output': 'data://.algo/deeplearning/ColorfulImageColorization/temp/cumpleLUCAB&W.png'}\n"
]
}
],
"source": [
"import Algorithmia\n",
"\n",
"input = {\n",
" \"image\": \"data://precuero/PruebaLUCA/cumpleLUCAB&W.jpg\"\n",
"}\n",
"client = Algorithmia.client('simLiYonUWBQI9D5Do3MNv0EDUH1')\n",
"algo = client.algo('deeplearning/ColorfulImageColorization/1.1.13')\n",
"print(algo.pipe(input).result)\n"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.3"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment