Download resources/views/default/panel/admin/chatbot/status.blade.php from pnacorp/magicai: direct link, hf CLI and curl.
- Browser
- Download file 530 Bytes
-
https://huggingface.co/pnacorp/magicai/resolve/main/resources/views/default/panel/admin/chatbot/status.blade.php
- Command line
-
hf download hf://pnacorp/magicai/resources/views/default/panel/admin/chatbot/status.blade.php
-
curl -L -o status.blade.php https://huggingface.co/pnacorp/magicai/resolve/main/resources/views/default/panel/admin/chatbot/status.blade.php
530 Bytes
| @php | |
| $statusArr = [ | |
| 'not-trained' => [ | |
| 'class' => 'default', | |
| 'text' => 'Not Trained', | |
| ], | |
| 'trained' => [ | |
| 'class' => 'success', | |
| 'text' => 'Trained', | |
| ], | |
| 'training' => [ | |
| 'class' => 'info', | |
| 'text' => 'Training', | |
| ], | |
| ]; | |
| @endphp | |
| <x-badge | |
| class="text-3xs" | |
| variant="{{ data_get($statusArr, $status . '.class') ?: 'default' }}" | |
| > | |
| {{ data_get($statusArr, $status . '.text') ?: 'Waiting' }} | |
| </x-badge> | |