FileStorageUpload is a widget in Supervisely's web interface that allows users to upload files directly to Team files by given path. With this widget, users can easily transfer data from their local machine to Team files without the need for any external tools or commands. The widget supports multiple file uploads and progress tracking, making the process of transferring data efficient and streamlined.
Create Field, Button, Text, Input widgets we will use in UI for demo
upload_1 =Field( title="Existing directory", description="Upload files/folders to an existing directory in Team files", content=file_upload_1,)upload_2 =Field( title="New path", description="Enter a new path and set it by clicking on button", content=file_upload_2,)input=Input(placeholder="Please enter path")button_change_path =Button("Change path name")button_get_paths_1 =Button("Get upoaded paths")button_get_paths_2 =Button("Get upoaded paths")text =Text()
Create app layout
Prepare a layout for app using Card widget with the content parameter and place widget that we've just created in the Container widget.