Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Commit

Permalink
width
Browse files Browse the repository at this point in the history
  • Loading branch information
jph00 committed Jan 12, 2020
1 parent 91efceb commit 3352d43
Show file tree
Hide file tree
Showing 5 changed files with 141 additions and 116 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,3 +1,4 @@
tags
data/
*~
~*
Expand Down
6 changes: 3 additions & 3 deletions fastai2/vision/widgets.py
@@ -1,7 +1,7 @@
# AUTOGENERATED! DO NOT EDIT! File to edit: nbs/09c_vision.widgets.ipynb (unless otherwise specified).

__all__ = ['HBox', 'VBox', 'widgets', 'Button', 'Checkbox', 'Dropdown', 'Layout', 'Box', 'ImagesCleaner',
'ImageClassifierCleaner']
__all__ = ['HBox', 'VBox', 'widgets', 'Button', 'Checkbox', 'Dropdown', 'Layout', 'Box', 'Output', 'Label',
'ImagesCleaner', 'ImageClassifierCleaner']

# Cell
from ..torch_basics import *
Expand All @@ -22,7 +22,7 @@ class ImagesCleaner:
def __init__(self, opts=(), height=128, width=256, max_n=30):
opts = ('<Keep>', '<Delete>')+tuple(opts)
store_attr(self, 'opts,height,width,max_n')
self.widget = carousel(width='70%')
self.widget = carousel(width='100%')

def set_fns(self, fns):
self.fns = L(fns)[:self.max_n]
Expand Down

0 comments on commit 3352d43

Please sign in to comment.