code: def choose_path():
      
      dirs = webview.create_file_dialog(webview.FOLDER_DIALOG)
      if dirs and len(dirs) > 0:
          directory = dirs[0]
          if isinstance(directory, bytes):
              directory = directory.decode("utf-8")
  
          response = {"status": "ok", "directory": directory}
      else:
          response = {"status": "cancel"}
  
      return jsonify(response)
docs: Invoke a folder selection dialog here
      :return: