Gradio API client for PHP
MIT License
A PHP client to call Gradio APIs.
predict
You can install the package via composer:
composer require sergix44/gradio-client-php
use SergiX44\Gradio\Client;
$client = new Client('https://my-special.hf.space');
$result = $client->predict(['arg', 1, 2], apiName: 'myFunction');
composer test
Please see CHANGELOG for more information on what has changed recently.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.