Last active
May 20, 2021 04:18
-
-
Save Dhrumilcse/a605ff9137d123960919c233e0b9edd3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Imports | |
import ipywidgets as widgets | |
# Buttons | |
upload_file = widgets.FileUpload(multiple=False) | |
upload_btn = widgets.Button(description="Upload and Predict", icon='check', button_style='success') | |
upload_btn.on_click(upload_btn_eventhandler) | |
input_widgets = widgets.HBox([upload_file, upload_btn]) | |
with upload_btn_output: | |
display(input_widgets) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment