We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bee1d42 commit 38b0f3dCopy full SHA for 38b0f3d
1 file changed
simple_publish_model/simple_publish_model.ipynb
@@ -124,7 +124,8 @@
124
" \"text\": \"This is a very positive review for the movie. I absolutely loved it!\"\n",
125
"}\n",
126
"\n",
127
- "latest_hash = client.algo(algo_namespace).info().version_info.git_hash\n",
+ "algo = client.algo(algo_namespace)\n",
128
+ "latest_hash = algo.info().version_info.git_hash\n",
129
"algo_test = client.algo(\"{}/{}\".format(algo_namespace,latest_hash))\n",
130
"print(\"Result: {}\".format(algo_test.pipe(algo_input).result))"
131
]
@@ -147,7 +148,8 @@
147
148
"outputs": [],
149
"source": [
150
"# Now let's publish/deploy our algorithm\n",
- "client.algo(algo_namespace).publish()"
151
+ "algo.compile()\n",
152
+ "algo.publish()"
153
154
},
155
{
@@ -201,4 +203,4 @@
201
203
202
204
"nbformat": 4,
205
"nbformat_minor": 2
-}
206
+}
0 commit comments