Skip to content

Commit

Permalink
fixup! feat: switch to new demo endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
mtth committed Sep 8, 2024
1 parent de9ce07 commit aa5f906
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-compatibility.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ on:
- main
paths-ignore:
- '**/README.md'
schedule:
- cron: '5 */8 * * *'
# schedule:
# - cron: '5 */8 * * *'
workflow_dispatch: {}
jobs:
image-api:
Expand Down
2 changes: 1 addition & 1 deletion resources/examples/sudoku.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
" .pivot_table(index='row', columns='column', values='value')\n",
" .reindex(positions)\n",
" .reindex(positions, axis=1)\n",
" .applymap(lambda v: str(int(v)) if v == v else '')\n",
" .map(lambda v: str(int(v)) if v == v else '')\n",
" )"
]
},
Expand Down
3 changes: 3 additions & 0 deletions resources/guides/uploading-a-model.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,11 @@
}
],
"source": [
"import os\n",
"import requests\n",
"\n",
"OPVIOUS_TOKEN = os.environ.get('OPVIOUS_TOKEN')\n",
"\n",
"def minimum_bin_count(bin_max_weight, item_weights, version_tag='latest'):\n",
" \"\"\"Returns the minimum number of bins needed to fit the input items\n",
"\n",
Expand Down

0 comments on commit aa5f906

Please sign in to comment.