File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 124
124
" \" text\" : \" This is a very positive review for the movie. I absolutely loved it!\"\n " ,
125
125
" }\n " ,
126
126
" \n " ,
127
- " latest_hash = client.algo(algo_namespace).info().version_info.git_hash\n " ,
127
+ " algo = client.algo(algo_namespace)\n " ,
128
+ " latest_hash = algo.info().version_info.git_hash\n " ,
128
129
" algo_test = client.algo(\" {}/{}\" .format(algo_namespace,latest_hash))\n " ,
129
130
" print(\" Result: {}\" .format(algo_test.pipe(algo_input).result))"
130
131
]
147
148
"outputs" : [],
148
149
"source" : [
149
150
" # Now let's publish/deploy our algorithm\n " ,
150
- " client.algo(algo_namespace).publish()"
151
+ " algo.compile()\n " ,
152
+ " algo.publish()"
151
153
]
152
154
},
153
155
{
201
203
},
202
204
"nbformat" : 4 ,
203
205
"nbformat_minor" : 2
204
- }
206
+ }
You can’t perform that action at this time.
0 commit comments