Переименование: DUB-AI → grabber-ai (образ, сервис, документация, примеры)
docker / build (push) Successful in 21s
docker / build (push) Successful in 21s
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
1 parent
a64ced71d2
commit
71d9700f55
26 files changed
+48
-48
No files matched your search
+2
-2
@@ -145,7 +145,7 @@ kinozal требует авторизации, поэтому grabber скачи
|
||||
(`KinozalClient`) и отправляет сервису готовый HTML вместе с заголовком раздачи:
|
||||
|
||||
```php
|
||||
$ch = curl_init('http://dub-ai:8000/predict');
|
||||
$ch = curl_init('http://grabber-ai:8000/predict');
|
||||
curl_setopt_array($ch, [
|
||||
CURLOPT_POST => true, CURLOPT_RETURNTRANSFER => true, CURLOPT_TIMEOUT => 10,
|
||||
CURLOPT_HTTPHEADER => ['Content-Type: application/json'],
|
||||
@@ -192,7 +192,7 @@ python -m src.export_onnx # -> models/best-onnx/ + reports/onnx_parit
|
||||
```bash
|
||||
cd examples/rust/onnx_local && cargo build
|
||||
ORT_DYLIB_PATH="$(find ../../.venv -name onnxruntime.dll | head -1)" \
|
||||
./target/debug/dub-ai-onnx-local.exe ../../models/best-onnx \
|
||||
./target/debug/grabber-ai-onnx-local.exe ../../models/best-onnx \
|
||||
"Перевод: Дублированный | MovieDalen"
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user