Added video transcription
All checks were successful
Push image to registry / build-image (push) Successful in 5m59s
All checks were successful
Push image to registry / build-image (push) Successful in 5m59s
This commit is contained in:
@ -4,6 +4,7 @@ namespace App\Providers;
|
||||
|
||||
use App\Services\AIPrompt\OpenAPIPrompt;
|
||||
use App\Services\FileTools\OCR\IImageOCR;
|
||||
use App\Services\FileTools\Transcription\IAudioTranscriptor;
|
||||
use App\Services\FileTools\VideoDescriptor\IVideoDescriptor;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
|
||||
@ -24,6 +25,11 @@ class VideoDescriptorServiceProvider extends ServiceProvider
|
||||
|
||||
// Register the VideoDescriptor service
|
||||
$this->app->singleton(\App\Browser\Jobs\InstagramRepost\ReelDescriptor::class);
|
||||
|
||||
// Audio transcription service
|
||||
$this->app->singleton(IAudioTranscriptor::class, function ($app) {
|
||||
return new \App\Services\FileTools\Transcription\OpenAIAPIAudioTranscriptor();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user