You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "/Users/mak/Downloads/suggestion-master/test.py", line 17, in <module>
suggestion = Suggestion(text_field, dataset=DATASET)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/mak/Downloads/suggestion-master/suggestion/__init__.py", line 27, in __init__
self._setup()
File "/Users/mak/Downloads/suggestion-master/suggestion/__init__.py", line 111, in _setup
self._dropdown.build(self.widget)
TypeError: Viewable.build() takes 1 positional argument but 2 were given
Please fix this error
The text was updated successfully, but these errors were encountered:
It seems that you don't have the latest version of Viewable. I recommend to install Suggestion in a new virtual environment with pip install suggestion.
You can also upgrade Suggestion with pip install suggestion --upgrade --upgrade-strategy eager.
Once updated or newly installed, you can play with the demo interface: python -m suggestion.demo. It is a graphical user interface with 3 fields. A field to fill in a dictionary of words and two other fields (tkinter.Entry widget and tkinter.Text widget) to type text to see how Suggestion behaves.
I will probably update today the READMEs of both Suggestion and Viewable.
Please fix this error
The text was updated successfully, but these errors were encountered: