mirror of
https://github.com/RPCS3/discord-bot.git
synced 2026-01-31 01:25:22 +01:00
implement pluggable ocr provider and add tesseract and florence2 impl
This commit is contained in:
@@ -9,6 +9,7 @@ using CompatBot.Commands.Processors;
|
||||
using CompatBot.Database;
|
||||
using CompatBot.Database.Providers;
|
||||
using CompatBot.EventHandlers;
|
||||
using CompatBot.Ocr;
|
||||
using CompatBot.Utils.Extensions;
|
||||
using DSharpPlus.Commands.Processors.TextCommands;
|
||||
using DSharpPlus.Commands.Processors.TextCommands.Parsing;
|
||||
@@ -119,7 +120,8 @@ internal static class Program
|
||||
Config.GetAzureDevOpsClient().GetPipelineDurationAsync(Config.Cts.Token),
|
||||
new GithubClient.Client(Config.GithubToken).GetPipelineDurationAsync(Config.Cts.Token),
|
||||
Config.GetCurrentGitRevisionAsync(Config.Cts.Token),
|
||||
Bot.UpdateCheckScheduledAsync(Config.Cts.Token)
|
||||
Bot.UpdateCheckScheduledAsync(Config.Cts.Token),
|
||||
OcrProvider.InitializeAsync(Config.Cts.Token)
|
||||
);
|
||||
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user