---
description: Display the import file selection dialog (nicegui.ui.card).
---

# select\_import (function)

<figure><img src="https://4150504652-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkfTcT9W4MBFH7gpovdqW%2Fuploads%2FtVgyMb98zIvx5wiReyfu%2Fimage.png?alt=media&#x26;token=119aadb1-3b06-42c4-9d11-87ee0cb7c515" alt=""><figcaption></figcaption></figure>

## Syntax

```python
def select_import(f: callable) -> None:
```

## Parameters

`f`

Function to call when the import button is clicked. This function will be called as&#x20;

```python
f(selected_file.text, delete.value)
```

## Remarks

This function may be used to import new recordings or databases, currently unused.

