Instructions to use Subject-Emu-5259/NeuralAI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Subject-Emu-5259/NeuralAI with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
| #!/usr/bin/env php | |
| declare(strict_types=1); | |
| /** | |
| * SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors | |
| * SPDX-License-Identifier: AGPL-3.0-or-later | |
| */ | |
| /** | |
| * Drop privileges when run as root | |
| */ | |
| function dropPrivileges(): void { | |
| if (posix_getuid() !== 0) { | |
| return; | |
| } | |
| $configPath = __DIR__ . '/config/config.php'; | |
| $uid = @fileowner($configPath); | |
| if ($uid === false) { | |
| return; | |
| } | |
| $info = posix_getpwuid($uid); | |
| if ($info === false) { | |
| return; | |
| } | |
| posix_setuid($uid); | |
| posix_setgid($info['gid']); | |
| } | |
| dropPrivileges(); | |
| require_once __DIR__ . '/console.php'; | |