File size: 82,869 Bytes
3d4edeb |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 |
{
"cells": [
{
"cell_type": "code",
"execution_count": 11,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Requirement already satisfied: fastai in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (2.7.15)\n",
"Requirement already satisfied: pip in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from fastai) (23.2.1)\n",
"Requirement already satisfied: packaging in c:\\users\\pc\\appdata\\roaming\\python\\python312\\site-packages (from fastai) (24.1)\n",
"Requirement already satisfied: fastdownload<2,>=0.0.5 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from fastai) (0.0.7)\n",
"Requirement already satisfied: fastcore<1.6,>=1.5.29 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from fastai) (1.5.45)\n",
"Requirement already satisfied: torchvision>=0.11 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from fastai) (0.18.1)\n",
"Requirement already satisfied: matplotlib in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from fastai) (3.9.0)\n",
"Requirement already satisfied: pandas in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from fastai) (2.1.4)\n",
"Requirement already satisfied: requests in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from fastai) (2.31.0)\n",
"Requirement already satisfied: pyyaml in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from fastai) (6.0.1)\n",
"Requirement already satisfied: fastprogress>=0.2.4 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from fastai) (1.0.3)\n",
"Requirement already satisfied: pillow>=9.0.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from fastai) (10.1.0)\n",
"Requirement already satisfied: scikit-learn in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from fastai) (1.4.2)\n",
"Requirement already satisfied: scipy in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from fastai) (1.13.0)\n",
"Requirement already satisfied: spacy<4 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from fastai) (3.7.5)\n",
"Requirement already satisfied: torch<2.4,>=1.10 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from fastai) (2.3.1)\n",
"Requirement already satisfied: spacy-legacy<3.1.0,>=3.0.11 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from spacy<4->fastai) (3.0.12)\n",
"Requirement already satisfied: spacy-loggers<2.0.0,>=1.0.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from spacy<4->fastai) (1.0.5)\n",
"Requirement already satisfied: murmurhash<1.1.0,>=0.28.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from spacy<4->fastai) (1.0.10)\n",
"Requirement already satisfied: cymem<2.1.0,>=2.0.2 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from spacy<4->fastai) (2.0.8)\n",
"Requirement already satisfied: preshed<3.1.0,>=3.0.2 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from spacy<4->fastai) (3.0.9)\n",
"Requirement already satisfied: thinc<8.3.0,>=8.2.2 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from spacy<4->fastai) (8.2.4)\n",
"Requirement already satisfied: wasabi<1.2.0,>=0.9.1 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from spacy<4->fastai) (1.1.3)\n",
"Requirement already satisfied: srsly<3.0.0,>=2.4.3 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from spacy<4->fastai) (2.4.8)\n",
"Requirement already satisfied: catalogue<2.1.0,>=2.0.6 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from spacy<4->fastai) (2.0.10)\n",
"Requirement already satisfied: weasel<0.5.0,>=0.1.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from spacy<4->fastai) (0.4.1)\n",
"Requirement already satisfied: typer<1.0.0,>=0.3.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from spacy<4->fastai) (0.12.3)\n",
"Requirement already satisfied: tqdm<5.0.0,>=4.38.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from spacy<4->fastai) (4.66.4)\n",
"Requirement already satisfied: pydantic!=1.8,!=1.8.1,<3.0.0,>=1.7.4 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from spacy<4->fastai) (2.7.4)\n",
"Requirement already satisfied: jinja2 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from spacy<4->fastai) (3.1.3)\n",
"Requirement already satisfied: setuptools in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from spacy<4->fastai) (70.0.0)\n",
"Requirement already satisfied: langcodes<4.0.0,>=3.2.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from spacy<4->fastai) (3.4.0)\n",
"Requirement already satisfied: numpy>=1.19.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from spacy<4->fastai) (1.26.2)\n",
"Requirement already satisfied: charset-normalizer<4,>=2 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from requests->fastai) (3.3.2)\n",
"Requirement already satisfied: idna<4,>=2.5 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from requests->fastai) (3.6)\n",
"Requirement already satisfied: urllib3<3,>=1.21.1 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from requests->fastai) (2.1.0)\n",
"Requirement already satisfied: certifi>=2017.4.17 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from requests->fastai) (2023.11.17)\n",
"Requirement already satisfied: filelock in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from torch<2.4,>=1.10->fastai) (3.15.1)\n",
"Requirement already satisfied: typing-extensions>=4.8.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from torch<2.4,>=1.10->fastai) (4.12.2)\n",
"Requirement already satisfied: sympy in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from torch<2.4,>=1.10->fastai) (1.12.1)\n",
"Requirement already satisfied: networkx in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from torch<2.4,>=1.10->fastai) (3.3)\n",
"Requirement already satisfied: fsspec in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from torch<2.4,>=1.10->fastai) (2024.6.0)\n",
"Requirement already satisfied: mkl<=2021.4.0,>=2021.1.1 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from torch<2.4,>=1.10->fastai) (2021.4.0)\n",
"Requirement already satisfied: contourpy>=1.0.1 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from matplotlib->fastai) (1.2.1)\n",
"Requirement already satisfied: cycler>=0.10 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from matplotlib->fastai) (0.12.1)\n",
"Requirement already satisfied: fonttools>=4.22.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from matplotlib->fastai) (4.53.0)\n",
"Requirement already satisfied: kiwisolver>=1.3.1 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from matplotlib->fastai) (1.4.5)\n",
"Requirement already satisfied: pyparsing>=2.3.1 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from matplotlib->fastai) (3.1.2)\n",
"Requirement already satisfied: python-dateutil>=2.7 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from matplotlib->fastai) (2.8.2)\n",
"Requirement already satisfied: pytz>=2020.1 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from pandas->fastai) (2023.3.post1)\n",
"Requirement already satisfied: tzdata>=2022.1 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from pandas->fastai) (2023.3)\n",
"Requirement already satisfied: joblib>=1.2.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from scikit-learn->fastai) (1.4.0)\n",
"Requirement already satisfied: threadpoolctl>=2.0.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from scikit-learn->fastai) (3.4.0)\n",
"Requirement already satisfied: language-data>=1.2 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from langcodes<4.0.0,>=3.2.0->spacy<4->fastai) (1.2.0)\n",
"Requirement already satisfied: intel-openmp==2021.* in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from mkl<=2021.4.0,>=2021.1.1->torch<2.4,>=1.10->fastai) (2021.4.0)\n",
"Requirement already satisfied: tbb==2021.* in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from mkl<=2021.4.0,>=2021.1.1->torch<2.4,>=1.10->fastai) (2021.12.0)\n",
"Requirement already satisfied: annotated-types>=0.4.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from pydantic!=1.8,!=1.8.1,<3.0.0,>=1.7.4->spacy<4->fastai) (0.7.0)\n",
"Requirement already satisfied: pydantic-core==2.18.4 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from pydantic!=1.8,!=1.8.1,<3.0.0,>=1.7.4->spacy<4->fastai) (2.18.4)\n",
"Requirement already satisfied: six>=1.5 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from python-dateutil>=2.7->matplotlib->fastai) (1.16.0)\n",
"Requirement already satisfied: blis<0.8.0,>=0.7.8 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from thinc<8.3.0,>=8.2.2->spacy<4->fastai) (0.7.11)\n",
"Requirement already satisfied: confection<1.0.0,>=0.0.1 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from thinc<8.3.0,>=8.2.2->spacy<4->fastai) (0.1.5)\n",
"Requirement already satisfied: colorama in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from tqdm<5.0.0,>=4.38.0->spacy<4->fastai) (0.4.6)\n",
"Requirement already satisfied: click>=8.0.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from typer<1.0.0,>=0.3.0->spacy<4->fastai) (8.1.7)\n",
"Requirement already satisfied: shellingham>=1.3.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from typer<1.0.0,>=0.3.0->spacy<4->fastai) (1.5.4)\n",
"Requirement already satisfied: rich>=10.11.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from typer<1.0.0,>=0.3.0->spacy<4->fastai) (13.7.1)\n",
"Requirement already satisfied: cloudpathlib<1.0.0,>=0.7.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from weasel<0.5.0,>=0.1.0->spacy<4->fastai) (0.18.1)\n",
"Requirement already satisfied: smart-open<8.0.0,>=5.2.1 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from weasel<0.5.0,>=0.1.0->spacy<4->fastai) (7.0.4)\n",
"Requirement already satisfied: MarkupSafe>=2.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from jinja2->spacy<4->fastai) (2.1.5)\n",
"Requirement already satisfied: mpmath<1.4.0,>=1.1.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from sympy->torch<2.4,>=1.10->fastai) (1.3.0)\n",
"Requirement already satisfied: marisa-trie>=0.7.7 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from language-data>=1.2->langcodes<4.0.0,>=3.2.0->spacy<4->fastai) (1.2.0)\n",
"Requirement already satisfied: markdown-it-py>=2.2.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from rich>=10.11.0->typer<1.0.0,>=0.3.0->spacy<4->fastai) (3.0.0)\n",
"Requirement already satisfied: pygments<3.0.0,>=2.13.0 in c:\\users\\pc\\appdata\\roaming\\python\\python312\\site-packages (from rich>=10.11.0->typer<1.0.0,>=0.3.0->spacy<4->fastai) (2.18.0)\n",
"Requirement already satisfied: wrapt in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from smart-open<8.0.0,>=5.2.1->weasel<0.5.0,>=0.1.0->spacy<4->fastai) (1.16.0)\n",
"Requirement already satisfied: mdurl~=0.1 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from markdown-it-py>=2.2.0->rich>=10.11.0->typer<1.0.0,>=0.3.0->spacy<4->fastai) (0.1.2)\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\n",
"[notice] A new release of pip is available: 23.2.1 -> 24.0\n",
"[notice] To update, run: python.exe -m pip install --upgrade pip\n"
]
}
],
"source": [
"!pip install --upgrade fastai"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Collecting gradio\n",
" Obtaining dependency information for gradio from https://files.pythonhosted.org/packages/78/99/5d6f18958ee8f82b9bf858232cd48fc98a571a9cace053ea01198d8cefc1/gradio-4.36.1-py3-none-any.whl.metadata\n",
" Downloading gradio-4.36.1-py3-none-any.whl.metadata (15 kB)\n",
"Collecting aiofiles<24.0,>=22.0 (from gradio)\n",
" Obtaining dependency information for aiofiles<24.0,>=22.0 from https://files.pythonhosted.org/packages/c5/19/5af6804c4cc0fed83f47bff6e413a98a36618e7d40185cd36e69737f3b0e/aiofiles-23.2.1-py3-none-any.whl.metadata\n",
" Downloading aiofiles-23.2.1-py3-none-any.whl.metadata (9.7 kB)\n",
"Collecting altair<6.0,>=4.2.0 (from gradio)\n",
" Obtaining dependency information for altair<6.0,>=4.2.0 from https://files.pythonhosted.org/packages/46/30/2118537233fa72c1d91a81f5908a7e843a6601ccc68b76838ebc4951505f/altair-5.3.0-py3-none-any.whl.metadata\n",
" Downloading altair-5.3.0-py3-none-any.whl.metadata (9.2 kB)\n",
"Collecting fastapi (from gradio)\n",
" Obtaining dependency information for fastapi from https://files.pythonhosted.org/packages/e6/33/de41e554e5a187d583906e10d53bfae5fd6c07e98cbf4fe5262bd37e739a/fastapi-0.111.0-py3-none-any.whl.metadata\n",
" Downloading fastapi-0.111.0-py3-none-any.whl.metadata (25 kB)\n",
"Collecting ffmpy (from gradio)\n",
" Downloading ffmpy-0.3.2.tar.gz (5.5 kB)\n",
" Installing build dependencies: started\n",
" Installing build dependencies: finished with status 'done'\n",
" Getting requirements to build wheel: started\n",
" Getting requirements to build wheel: finished with status 'done'\n",
" Preparing metadata (pyproject.toml): started\n",
" Preparing metadata (pyproject.toml): finished with status 'done'\n",
"Collecting gradio-client==1.0.1 (from gradio)\n",
" Obtaining dependency information for gradio-client==1.0.1 from https://files.pythonhosted.org/packages/d5/d5/ee0814f51f81c8120495fd82a25aaeac4259058a3a61849bd7e575894fe1/gradio_client-1.0.1-py3-none-any.whl.metadata\n",
" Downloading gradio_client-1.0.1-py3-none-any.whl.metadata (7.1 kB)\n",
"Collecting httpx>=0.24.1 (from gradio)\n",
" Obtaining dependency information for httpx>=0.24.1 from https://files.pythonhosted.org/packages/41/7b/ddacf6dcebb42466abd03f368782142baa82e08fc0c1f8eaa05b4bae87d5/httpx-0.27.0-py3-none-any.whl.metadata\n",
" Downloading httpx-0.27.0-py3-none-any.whl.metadata (7.2 kB)\n",
"Collecting huggingface-hub>=0.19.3 (from gradio)\n",
" Obtaining dependency information for huggingface-hub>=0.19.3 from https://files.pythonhosted.org/packages/69/d6/73f9d1b7c4da5f0544bc17680d0fa9932445423b90cd38e1ee77d001a4f5/huggingface_hub-0.23.4-py3-none-any.whl.metadata\n",
" Downloading huggingface_hub-0.23.4-py3-none-any.whl.metadata (12 kB)\n",
"Collecting importlib-resources<7.0,>=1.3 (from gradio)\n",
" Obtaining dependency information for importlib-resources<7.0,>=1.3 from https://files.pythonhosted.org/packages/75/06/4df55e1b7b112d183f65db9503bff189e97179b256e1ea450a3c365241e0/importlib_resources-6.4.0-py3-none-any.whl.metadata\n",
" Downloading importlib_resources-6.4.0-py3-none-any.whl.metadata (3.9 kB)\n",
"Requirement already satisfied: jinja2<4.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from gradio) (3.1.3)\n",
"Requirement already satisfied: markupsafe~=2.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from gradio) (2.1.5)\n",
"Requirement already satisfied: matplotlib~=3.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from gradio) (3.9.0)\n",
"Requirement already satisfied: numpy<3.0,>=1.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from gradio) (1.26.2)\n",
"Collecting orjson~=3.0 (from gradio)\n",
" Obtaining dependency information for orjson~=3.0 from https://files.pythonhosted.org/packages/a2/da/22b9fa0628a0b51b2fa48c68003e41db4ed715b351eb2e95ca4b0998af9c/orjson-3.10.5-cp312-none-win_amd64.whl.metadata\n",
" Downloading orjson-3.10.5-cp312-none-win_amd64.whl.metadata (50 kB)\n",
" ---------------------------------------- 0.0/50.9 kB ? eta -:--:--\n",
" ------------------------------ ------- 41.0/50.9 kB 653.6 kB/s eta 0:00:01\n",
" -------------------------------------- 50.9/50.9 kB 865.8 kB/s eta 0:00:00\n",
"Requirement already satisfied: packaging in c:\\users\\pc\\appdata\\roaming\\python\\python312\\site-packages (from gradio) (24.1)\n",
"Requirement already satisfied: pandas<3.0,>=1.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from gradio) (2.1.4)\n",
"Requirement already satisfied: pillow<11.0,>=8.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from gradio) (10.1.0)\n",
"Requirement already satisfied: pydantic>=2.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from gradio) (2.7.4)\n",
"Collecting pydub (from gradio)\n",
" Obtaining dependency information for pydub from https://files.pythonhosted.org/packages/a6/53/d78dc063216e62fc55f6b2eebb447f6a4b0a59f55c8406376f76bf959b08/pydub-0.25.1-py2.py3-none-any.whl.metadata\n",
" Downloading pydub-0.25.1-py2.py3-none-any.whl.metadata (1.4 kB)\n",
"Collecting python-multipart>=0.0.9 (from gradio)\n",
" Obtaining dependency information for python-multipart>=0.0.9 from https://files.pythonhosted.org/packages/3d/47/444768600d9e0ebc82f8e347775d24aef8f6348cf00e9fa0e81910814e6d/python_multipart-0.0.9-py3-none-any.whl.metadata\n",
" Downloading python_multipart-0.0.9-py3-none-any.whl.metadata (2.5 kB)\n",
"Requirement already satisfied: pyyaml<7.0,>=5.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from gradio) (6.0.1)\n",
"Collecting ruff>=0.2.2 (from gradio)\n",
" Obtaining dependency information for ruff>=0.2.2 from https://files.pythonhosted.org/packages/cd/b2/3ac36982ae94cb78bfea85b79fbc868c9d2fb68bbbabf1e85ca9a9b2ba9a/ruff-0.4.9-py3-none-win_amd64.whl.metadata\n",
" Downloading ruff-0.4.9-py3-none-win_amd64.whl.metadata (24 kB)\n",
"Collecting semantic-version~=2.0 (from gradio)\n",
" Obtaining dependency information for semantic-version~=2.0 from https://files.pythonhosted.org/packages/6a/23/8146aad7d88f4fcb3a6218f41a60f6c2d4e3a72de72da1825dc7c8f7877c/semantic_version-2.10.0-py2.py3-none-any.whl.metadata\n",
" Downloading semantic_version-2.10.0-py2.py3-none-any.whl.metadata (9.7 kB)\n",
"Collecting tomlkit==0.12.0 (from gradio)\n",
" Obtaining dependency information for tomlkit==0.12.0 from https://files.pythonhosted.org/packages/68/4f/12207897848a653d03ebbf6775a29d949408ded5f99b2d87198bc5c93508/tomlkit-0.12.0-py3-none-any.whl.metadata\n",
" Downloading tomlkit-0.12.0-py3-none-any.whl.metadata (2.7 kB)\n",
"Requirement already satisfied: typer<1.0,>=0.12 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from gradio) (0.12.3)\n",
"Requirement already satisfied: typing-extensions~=4.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from gradio) (4.12.2)\n",
"Requirement already satisfied: urllib3~=2.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from gradio) (2.1.0)\n",
"Collecting uvicorn>=0.14.0 (from gradio)\n",
" Obtaining dependency information for uvicorn>=0.14.0 from https://files.pythonhosted.org/packages/b2/f9/e6f30ba6094733e4f9794fd098ca0543a19b07ac1fa3075d595bf0f1fb60/uvicorn-0.30.1-py3-none-any.whl.metadata\n",
" Downloading uvicorn-0.30.1-py3-none-any.whl.metadata (6.3 kB)\n",
"Requirement already satisfied: fsspec in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from gradio-client==1.0.1->gradio) (2024.6.0)\n",
"Collecting websockets<12.0,>=10.0 (from gradio-client==1.0.1->gradio)\n",
" Obtaining dependency information for websockets<12.0,>=10.0 from https://files.pythonhosted.org/packages/47/96/9d5749106ff57629b54360664ae7eb9afd8302fad1680ead385383e33746/websockets-11.0.3-py3-none-any.whl.metadata\n",
" Downloading websockets-11.0.3-py3-none-any.whl.metadata (6.6 kB)\n",
"Collecting jsonschema>=3.0 (from altair<6.0,>=4.2.0->gradio)\n",
" Obtaining dependency information for jsonschema>=3.0 from https://files.pythonhosted.org/packages/c8/2f/324fab4be6fe37fb7b521546e8a557e6cf08c1c1b3d0b4839a00f589d9ef/jsonschema-4.22.0-py3-none-any.whl.metadata\n",
" Downloading jsonschema-4.22.0-py3-none-any.whl.metadata (8.2 kB)\n",
"Collecting toolz (from altair<6.0,>=4.2.0->gradio)\n",
" Obtaining dependency information for toolz from https://files.pythonhosted.org/packages/b7/8a/d82202c9f89eab30f9fc05380daae87d617e2ad11571ab23d7c13a29bb54/toolz-0.12.1-py3-none-any.whl.metadata\n",
" Downloading toolz-0.12.1-py3-none-any.whl.metadata (5.1 kB)\n",
"Collecting anyio (from httpx>=0.24.1->gradio)\n",
" Obtaining dependency information for anyio from https://files.pythonhosted.org/packages/7b/a2/10639a79341f6c019dedc95bd48a4928eed9f1d1197f4c04f546fc7ae0ff/anyio-4.4.0-py3-none-any.whl.metadata\n",
" Downloading anyio-4.4.0-py3-none-any.whl.metadata (4.6 kB)\n",
"Requirement already satisfied: certifi in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from httpx>=0.24.1->gradio) (2023.11.17)\n",
"Collecting httpcore==1.* (from httpx>=0.24.1->gradio)\n",
" Obtaining dependency information for httpcore==1.* from https://files.pythonhosted.org/packages/78/d4/e5d7e4f2174f8a4d63c8897d79eb8fe2503f7ecc03282fee1fa2719c2704/httpcore-1.0.5-py3-none-any.whl.metadata\n",
" Downloading httpcore-1.0.5-py3-none-any.whl.metadata (20 kB)\n",
"Requirement already satisfied: idna in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from httpx>=0.24.1->gradio) (3.6)\n",
"Requirement already satisfied: sniffio in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from httpx>=0.24.1->gradio) (1.3.0)\n",
"Requirement already satisfied: h11<0.15,>=0.13 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from httpcore==1.*->httpx>=0.24.1->gradio) (0.14.0)\n",
"Requirement already satisfied: filelock in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from huggingface-hub>=0.19.3->gradio) (3.15.1)\n",
"Requirement already satisfied: requests in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from huggingface-hub>=0.19.3->gradio) (2.31.0)\n",
"Requirement already satisfied: tqdm>=4.42.1 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from huggingface-hub>=0.19.3->gradio) (4.66.4)\n",
"Requirement already satisfied: contourpy>=1.0.1 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from matplotlib~=3.0->gradio) (1.2.1)\n",
"Requirement already satisfied: cycler>=0.10 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from matplotlib~=3.0->gradio) (0.12.1)\n",
"Requirement already satisfied: fonttools>=4.22.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from matplotlib~=3.0->gradio) (4.53.0)\n",
"Requirement already satisfied: kiwisolver>=1.3.1 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from matplotlib~=3.0->gradio) (1.4.5)\n",
"Requirement already satisfied: pyparsing>=2.3.1 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from matplotlib~=3.0->gradio) (3.1.2)\n",
"Requirement already satisfied: python-dateutil>=2.7 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from matplotlib~=3.0->gradio) (2.8.2)\n",
"Requirement already satisfied: pytz>=2020.1 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from pandas<3.0,>=1.0->gradio) (2023.3.post1)\n",
"Requirement already satisfied: tzdata>=2022.1 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from pandas<3.0,>=1.0->gradio) (2023.3)\n",
"Requirement already satisfied: annotated-types>=0.4.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from pydantic>=2.0->gradio) (0.7.0)\n",
"Requirement already satisfied: pydantic-core==2.18.4 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from pydantic>=2.0->gradio) (2.18.4)\n",
"Requirement already satisfied: click>=8.0.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from typer<1.0,>=0.12->gradio) (8.1.7)\n",
"Requirement already satisfied: shellingham>=1.3.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from typer<1.0,>=0.12->gradio) (1.5.4)\n",
"Requirement already satisfied: rich>=10.11.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from typer<1.0,>=0.12->gradio) (13.7.1)\n",
"Collecting starlette<0.38.0,>=0.37.2 (from fastapi->gradio)\n",
" Obtaining dependency information for starlette<0.38.0,>=0.37.2 from https://files.pythonhosted.org/packages/fd/18/31fa32ed6c68ba66220204ef0be798c349d0a20c1901f9d4a794e08c76d8/starlette-0.37.2-py3-none-any.whl.metadata\n",
" Downloading starlette-0.37.2-py3-none-any.whl.metadata (5.9 kB)\n",
"Collecting fastapi-cli>=0.0.2 (from fastapi->gradio)\n",
" Obtaining dependency information for fastapi-cli>=0.0.2 from https://files.pythonhosted.org/packages/a1/03/89bf615052aa5453c04d952225ded0b88aab6487b9c5f0c268939d13b860/fastapi_cli-0.0.4-py3-none-any.whl.metadata\n",
" Downloading fastapi_cli-0.0.4-py3-none-any.whl.metadata (7.0 kB)\n",
"Collecting ujson!=4.0.2,!=4.1.0,!=4.2.0,!=4.3.0,!=5.0.0,!=5.1.0,>=4.0.1 (from fastapi->gradio)\n",
" Obtaining dependency information for ujson!=4.0.2,!=4.1.0,!=4.2.0,!=4.3.0,!=5.0.0,!=5.1.0,>=4.0.1 from https://files.pythonhosted.org/packages/59/2d/691f741ffd72b6c84438a93749ac57bf1a3f217ac4b0ea4fd0e96119e118/ujson-5.10.0-cp312-cp312-win_amd64.whl.metadata\n",
" Downloading ujson-5.10.0-cp312-cp312-win_amd64.whl.metadata (9.5 kB)\n",
"Collecting email_validator>=2.0.0 (from fastapi->gradio)\n",
" Obtaining dependency information for email_validator>=2.0.0 from https://files.pythonhosted.org/packages/e4/60/b02cb0f5ee0be88bd4fbfdd9cc91e43ec2dfcc47fe064e7c70587ff58a94/email_validator-2.1.1-py3-none-any.whl.metadata\n",
" Downloading email_validator-2.1.1-py3-none-any.whl.metadata (26 kB)\n",
"Requirement already satisfied: colorama in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from click>=8.0.0->typer<1.0,>=0.12->gradio) (0.4.6)\n",
"Collecting dnspython>=2.0.0 (from email_validator>=2.0.0->fastapi->gradio)\n",
" Obtaining dependency information for dnspython>=2.0.0 from https://files.pythonhosted.org/packages/87/a1/8c5287991ddb8d3e4662f71356d9656d91ab3a36618c3dd11b280df0d255/dnspython-2.6.1-py3-none-any.whl.metadata\n",
" Downloading dnspython-2.6.1-py3-none-any.whl.metadata (5.8 kB)\n",
"Requirement already satisfied: attrs>=22.2.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio) (23.1.0)\n",
"Collecting jsonschema-specifications>=2023.03.6 (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio)\n",
" Obtaining dependency information for jsonschema-specifications>=2023.03.6 from https://files.pythonhosted.org/packages/ee/07/44bd408781594c4d0a027666ef27fab1e441b109dc3b76b4f836f8fd04fe/jsonschema_specifications-2023.12.1-py3-none-any.whl.metadata\n",
" Downloading jsonschema_specifications-2023.12.1-py3-none-any.whl.metadata (3.0 kB)\n",
"Collecting referencing>=0.28.4 (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio)\n",
" Obtaining dependency information for referencing>=0.28.4 from https://files.pythonhosted.org/packages/b7/59/2056f61236782a2c86b33906c025d4f4a0b17be0161b63b70fd9e8775d36/referencing-0.35.1-py3-none-any.whl.metadata\n",
" Downloading referencing-0.35.1-py3-none-any.whl.metadata (2.8 kB)\n",
"Collecting rpds-py>=0.7.1 (from jsonschema>=3.0->altair<6.0,>=4.2.0->gradio)\n",
" Obtaining dependency information for rpds-py>=0.7.1 from https://files.pythonhosted.org/packages/01/7d/8552e329973a198e5e150cc6be068f5cbae797a89e64c02bbd47bd397dee/rpds_py-0.18.1-cp312-none-win_amd64.whl.metadata\n",
" Downloading rpds_py-0.18.1-cp312-none-win_amd64.whl.metadata (4.2 kB)\n",
"Requirement already satisfied: six>=1.5 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from python-dateutil>=2.7->matplotlib~=3.0->gradio) (1.16.0)\n",
"Requirement already satisfied: markdown-it-py>=2.2.0 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from rich>=10.11.0->typer<1.0,>=0.12->gradio) (3.0.0)\n",
"Requirement already satisfied: pygments<3.0.0,>=2.13.0 in c:\\users\\pc\\appdata\\roaming\\python\\python312\\site-packages (from rich>=10.11.0->typer<1.0,>=0.12->gradio) (2.18.0)\n",
"Collecting httptools>=0.5.0 (from uvicorn>=0.14.0->gradio)\n",
" Obtaining dependency information for httptools>=0.5.0 from https://files.pythonhosted.org/packages/d3/97/60860e9ee87a7d4712b98f7e1411730520053b9d69e9e42b0b9751809c17/httptools-0.6.1-cp312-cp312-win_amd64.whl.metadata\n",
" Downloading httptools-0.6.1-cp312-cp312-win_amd64.whl.metadata (3.7 kB)\n",
"Collecting python-dotenv>=0.13 (from uvicorn>=0.14.0->gradio)\n",
" Obtaining dependency information for python-dotenv>=0.13 from https://files.pythonhosted.org/packages/6a/3e/b68c118422ec867fa7ab88444e1274aa40681c606d59ac27de5a5588f082/python_dotenv-1.0.1-py3-none-any.whl.metadata\n",
" Downloading python_dotenv-1.0.1-py3-none-any.whl.metadata (23 kB)\n",
"Collecting watchfiles>=0.13 (from uvicorn>=0.14.0->gradio)\n",
" Obtaining dependency information for watchfiles>=0.13 from https://files.pythonhosted.org/packages/c9/d1/7a2404a9d52a85ee95d5f20b6a34a2708df84549d54fc8112308d502ed35/watchfiles-0.22.0-cp312-none-win_amd64.whl.metadata\n",
" Downloading watchfiles-0.22.0-cp312-none-win_amd64.whl.metadata (5.0 kB)\n",
"Requirement already satisfied: charset-normalizer<4,>=2 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from requests->huggingface-hub>=0.19.3->gradio) (3.3.2)\n",
"Requirement already satisfied: mdurl~=0.1 in c:\\users\\pc\\appdata\\local\\programs\\python\\python312\\lib\\site-packages (from markdown-it-py>=2.2.0->rich>=10.11.0->typer<1.0,>=0.12->gradio) (0.1.2)\n",
"Downloading gradio-4.36.1-py3-none-any.whl (12.3 MB)\n",
" ---------------------------------------- 0.0/12.3 MB ? eta -:--:--\n",
" ---------------------------------------- 0.1/12.3 MB 1.7 MB/s eta 0:00:07\n",
" ---------------------------------------- 0.1/12.3 MB 980.4 kB/s eta 0:00:13\n",
" --------------------------------------- 0.2/12.3 MB 1.6 MB/s eta 0:00:08\n",
" - -------------------------------------- 0.3/12.3 MB 1.9 MB/s eta 0:00:07\n",
" - -------------------------------------- 0.5/12.3 MB 1.9 MB/s eta 0:00:07\n",
" - -------------------------------------- 0.6/12.3 MB 2.1 MB/s eta 0:00:06\n",
" -- ------------------------------------- 0.7/12.3 MB 2.0 MB/s eta 0:00:06\n",
" --- ------------------------------------ 1.1/12.3 MB 2.8 MB/s eta 0:00:04\n",
" --- ------------------------------------ 1.2/12.3 MB 2.9 MB/s eta 0:00:04\n",
" ------ --------------------------------- 1.9/12.3 MB 4.1 MB/s eta 0:00:03\n",
" ------- -------------------------------- 2.3/12.3 MB 4.5 MB/s eta 0:00:03\n",
" -------- ------------------------------- 2.6/12.3 MB 4.9 MB/s eta 0:00:02\n",
" -------- ------------------------------- 2.6/12.3 MB 4.9 MB/s eta 0:00:02\n",
" -------- ------------------------------- 2.6/12.3 MB 4.9 MB/s eta 0:00:02\n",
" -------- ------------------------------- 2.6/12.3 MB 4.9 MB/s eta 0:00:02\n",
" -------- ------------------------------- 2.6/12.3 MB 4.9 MB/s eta 0:00:02\n",
" ---------- ----------------------------- 3.2/12.3 MB 4.1 MB/s eta 0:00:03\n",
" ---------- ----------------------------- 3.3/12.3 MB 3.9 MB/s eta 0:00:03\n",
" ---------- ----------------------------- 3.3/12.3 MB 3.9 MB/s eta 0:00:03\n",
" ----------- ---------------------------- 3.6/12.3 MB 3.8 MB/s eta 0:00:03\n",
" ------------- -------------------------- 4.1/12.3 MB 4.2 MB/s eta 0:00:02\n",
" ------------- -------------------------- 4.2/12.3 MB 4.2 MB/s eta 0:00:02\n",
" ------------- -------------------------- 4.3/12.3 MB 4.1 MB/s eta 0:00:02\n",
" ------------- -------------------------- 4.3/12.3 MB 4.1 MB/s eta 0:00:02\n",
" ------------- -------------------------- 4.3/12.3 MB 4.1 MB/s eta 0:00:02\n",
" ------------- -------------------------- 4.3/12.3 MB 4.1 MB/s eta 0:00:02\n",
" ------------- -------------------------- 4.3/12.3 MB 4.1 MB/s eta 0:00:02\n",
" ------------- -------------------------- 4.3/12.3 MB 4.1 MB/s eta 0:00:02\n",
" ------------- -------------------------- 4.3/12.3 MB 4.1 MB/s eta 0:00:02\n",
" --------------- ------------------------ 4.8/12.3 MB 3.5 MB/s eta 0:00:03\n",
" --------------- ------------------------ 4.8/12.3 MB 3.5 MB/s eta 0:00:03\n",
" --------------- ------------------------ 4.8/12.3 MB 3.2 MB/s eta 0:00:03\n",
" ---------------- ----------------------- 5.1/12.3 MB 3.3 MB/s eta 0:00:03\n",
" ---------------- ----------------------- 5.2/12.3 MB 3.3 MB/s eta 0:00:03\n",
" ----------------- ---------------------- 5.3/12.3 MB 3.2 MB/s eta 0:00:03\n",
" ----------------- ---------------------- 5.3/12.3 MB 3.2 MB/s eta 0:00:03\n",
" ----------------- ---------------------- 5.4/12.3 MB 3.1 MB/s eta 0:00:03\n",
" ----------------- ---------------------- 5.4/12.3 MB 3.0 MB/s eta 0:00:03\n",
" ------------------ --------------------- 5.6/12.3 MB 3.0 MB/s eta 0:00:03\n",
" ------------------ --------------------- 5.6/12.3 MB 3.0 MB/s eta 0:00:03\n",
" ------------------ --------------------- 5.7/12.3 MB 2.9 MB/s eta 0:00:03\n",
" ------------------ --------------------- 5.7/12.3 MB 2.9 MB/s eta 0:00:03\n",
" ------------------ --------------------- 5.8/12.3 MB 2.9 MB/s eta 0:00:03\n",
" -------------------- ------------------- 6.2/12.3 MB 3.0 MB/s eta 0:00:02\n",
" -------------------- ------------------- 6.3/12.3 MB 3.1 MB/s eta 0:00:02\n",
" -------------------- ------------------- 6.3/12.3 MB 3.1 MB/s eta 0:00:02\n",
" -------------------- ------------------- 6.3/12.3 MB 3.1 MB/s eta 0:00:02\n",
" -------------------- ------------------- 6.3/12.3 MB 3.1 MB/s eta 0:00:02\n",
" ---------------------- ----------------- 6.8/12.3 MB 3.0 MB/s eta 0:00:02\n",
" ----------------------- ---------------- 7.2/12.3 MB 3.1 MB/s eta 0:00:02\n",
" ----------------------- ---------------- 7.3/12.3 MB 3.1 MB/s eta 0:00:02\n",
" ----------------------- ---------------- 7.3/12.3 MB 3.1 MB/s eta 0:00:02\n",
" ----------------------- ---------------- 7.3/12.3 MB 3.1 MB/s eta 0:00:02\n",
" --------------------------- ------------ 8.3/12.3 MB 3.3 MB/s eta 0:00:02\n",
" --------------------------- ------------ 8.3/12.3 MB 3.3 MB/s eta 0:00:02\n",
" --------------------------- ------------ 8.3/12.3 MB 3.3 MB/s eta 0:00:02\n",
" --------------------------- ------------ 8.3/12.3 MB 3.3 MB/s eta 0:00:02\n",
" --------------------------- ------------ 8.3/12.3 MB 3.3 MB/s eta 0:00:02\n",
" ---------------------------- ----------- 8.6/12.3 MB 3.1 MB/s eta 0:00:02\n",
" ---------------------------- ----------- 8.6/12.3 MB 3.1 MB/s eta 0:00:02\n",
" ----------------------------- ---------- 9.1/12.3 MB 3.2 MB/s eta 0:00:01\n",
" ------------------------------ --------- 9.4/12.3 MB 3.2 MB/s eta 0:00:01\n",
" ------------------------------- -------- 9.6/12.3 MB 3.2 MB/s eta 0:00:01\n",
" ------------------------------- -------- 9.7/12.3 MB 3.2 MB/s eta 0:00:01\n",
" -------------------------------- ------- 9.8/12.3 MB 3.2 MB/s eta 0:00:01\n",
" -------------------------------- ------- 9.9/12.3 MB 3.2 MB/s eta 0:00:01\n",
" -------------------------------- ------- 9.9/12.3 MB 3.2 MB/s eta 0:00:01\n",
" -------------------------------- ------- 10.0/12.3 MB 3.1 MB/s eta 0:00:01\n",
" --------------------------------- ------ 10.2/12.3 MB 3.2 MB/s eta 0:00:01\n",
" --------------------------------- ------ 10.4/12.3 MB 3.2 MB/s eta 0:00:01\n",
" ---------------------------------- ----- 10.6/12.3 MB 3.3 MB/s eta 0:00:01\n",
" ---------------------------------- ----- 10.6/12.3 MB 3.3 MB/s eta 0:00:01\n",
" ----------------------------------- ---- 11.0/12.3 MB 3.3 MB/s eta 0:00:01\n",
" ----------------------------------- ---- 11.0/12.3 MB 3.3 MB/s eta 0:00:01\n",
" ----------------------------------- ---- 11.0/12.3 MB 3.3 MB/s eta 0:00:01\n",
" ----------------------------------- ---- 11.0/12.3 MB 3.3 MB/s eta 0:00:01\n",
" ------------------------------------ --- 11.3/12.3 MB 3.2 MB/s eta 0:00:01\n",
" ------------------------------------- -- 11.4/12.3 MB 3.2 MB/s eta 0:00:01\n",
" ------------------------------------- -- 11.4/12.3 MB 3.1 MB/s eta 0:00:01\n",
" ------------------------------------- -- 11.5/12.3 MB 3.1 MB/s eta 0:00:01\n",
" ------------------------------------- -- 11.5/12.3 MB 3.1 MB/s eta 0:00:01\n",
" ------------------------------------- -- 11.6/12.3 MB 3.0 MB/s eta 0:00:01\n",
" ------------------------------------- -- 11.6/12.3 MB 3.0 MB/s eta 0:00:01\n",
" ------------------------------------- -- 11.6/12.3 MB 2.9 MB/s eta 0:00:01\n",
" ------------------------------------- -- 11.6/12.3 MB 2.9 MB/s eta 0:00:01\n",
" -------------------------------------- - 11.7/12.3 MB 2.9 MB/s eta 0:00:01\n",
" -------------------------------------- - 11.7/12.3 MB 2.9 MB/s eta 0:00:01\n",
" -------------------------------------- - 11.8/12.3 MB 2.8 MB/s eta 0:00:01\n",
" -------------------------------------- - 11.9/12.3 MB 2.8 MB/s eta 0:00:01\n",
" --------------------------------------- 12.0/12.3 MB 2.8 MB/s eta 0:00:01\n",
" --------------------------------------- 12.0/12.3 MB 2.7 MB/s eta 0:00:01\n",
" --------------------------------------- 12.0/12.3 MB 2.7 MB/s eta 0:00:01\n",
" --------------------------------------- 12.1/12.3 MB 2.6 MB/s eta 0:00:01\n",
" --------------------------------------- 12.1/12.3 MB 2.6 MB/s eta 0:00:01\n",
" --------------------------------------- 12.1/12.3 MB 2.6 MB/s eta 0:00:01\n",
" --------------------------------------- 12.2/12.3 MB 2.5 MB/s eta 0:00:01\n",
" --------------------------------------- 12.2/12.3 MB 2.5 MB/s eta 0:00:01\n",
" --------------------------------------- 12.3/12.3 MB 2.5 MB/s eta 0:00:01\n",
" ---------------------------------------- 12.3/12.3 MB 2.5 MB/s eta 0:00:00\n",
"Downloading gradio_client-1.0.1-py3-none-any.whl (318 kB)\n",
" ---------------------------------------- 0.0/318.1 kB ? eta -:--:--\n",
" --- ------------------------------------ 30.7/318.1 kB 1.4 MB/s eta 0:00:01\n",
" -------- ------------------------------ 71.7/318.1 kB 991.0 kB/s eta 0:00:01\n",
" ------------ ------------------------- 102.4/318.1 kB 845.5 kB/s eta 0:00:01\n",
" ------------------ ------------------- 153.6/318.1 kB 919.0 kB/s eta 0:00:01\n",
" ---------------------- --------------- 184.3/318.1 kB 857.5 kB/s eta 0:00:01\n",
" ---------------------------- --------- 235.5/318.1 kB 850.1 kB/s eta 0:00:01\n",
" ----------------------------- -------- 245.8/318.1 kB 838.1 kB/s eta 0:00:01\n",
" ----------------------------- -------- 245.8/318.1 kB 838.1 kB/s eta 0:00:01\n",
" ----------------------------- -------- 245.8/318.1 kB 838.1 kB/s eta 0:00:01\n",
" -------------------------------------- 318.1/318.1 kB 758.2 kB/s eta 0:00:00\n",
"Downloading tomlkit-0.12.0-py3-none-any.whl (37 kB)\n",
"Downloading aiofiles-23.2.1-py3-none-any.whl (15 kB)\n",
"Downloading altair-5.3.0-py3-none-any.whl (857 kB)\n",
" ---------------------------------------- 0.0/857.8 kB ? eta -:--:--\n",
" ---------------------------------------- 10.2/857.8 kB ? eta -:--:--\n",
" - ------------------------------------- 41.0/857.8 kB 495.5 kB/s eta 0:00:02\n",
" -- ------------------------------------ 61.4/857.8 kB 550.5 kB/s eta 0:00:02\n",
" ---- --------------------------------- 112.6/857.8 kB 598.8 kB/s eta 0:00:02\n",
" ----- -------------------------------- 122.9/857.8 kB 554.9 kB/s eta 0:00:02\n",
" ------- ------------------------------ 163.8/857.8 kB 614.4 kB/s eta 0:00:02\n",
" ------- ------------------------------ 174.1/857.8 kB 618.3 kB/s eta 0:00:02\n",
" --------- ---------------------------- 225.3/857.8 kB 599.0 kB/s eta 0:00:02\n",
" ---------- --------------------------- 245.8/857.8 kB 628.1 kB/s eta 0:00:01\n",
" ------------ ------------------------- 276.5/857.8 kB 609.2 kB/s eta 0:00:01\n",
" ------------- ------------------------ 307.2/857.8 kB 613.6 kB/s eta 0:00:01\n",
" -------------- ----------------------- 337.9/857.8 kB 617.1 kB/s eta 0:00:01\n",
" ---------------- --------------------- 368.6/857.8 kB 620.1 kB/s eta 0:00:01\n",
" ----------------- -------------------- 389.1/857.8 kB 638.9 kB/s eta 0:00:01\n",
" ------------------- ------------------ 440.3/857.8 kB 641.0 kB/s eta 0:00:01\n",
" ------------------- ------------------ 440.3/857.8 kB 641.0 kB/s eta 0:00:01\n",
" ------------------- ------------------ 450.6/857.8 kB 575.6 kB/s eta 0:00:01\n",
" --------------------- ---------------- 491.5/857.8 kB 592.7 kB/s eta 0:00:01\n",
" ----------------------- -------------- 522.2/857.8 kB 596.0 kB/s eta 0:00:01\n",
" ------------------------ ------------- 553.0/857.8 kB 599.0 kB/s eta 0:00:01\n",
" ------------------------- ------------ 583.7/857.8 kB 601.7 kB/s eta 0:00:01\n",
" --------------------------- ---------- 624.6/857.8 kB 614.4 kB/s eta 0:00:01\n",
" ----------------------------- -------- 655.4/857.8 kB 616.7 kB/s eta 0:00:01\n",
" ------------------------------ ------- 686.1/857.8 kB 618.3 kB/s eta 0:00:01\n",
" ------------------------------- ------ 716.8/857.8 kB 619.8 kB/s eta 0:00:01\n",
" --------------------------------- ---- 747.5/857.8 kB 621.1 kB/s eta 0:00:01\n",
" ---------------------------------- --- 778.2/857.8 kB 622.4 kB/s eta 0:00:01\n",
" ----------------------------------- -- 809.0/857.8 kB 631.4 kB/s eta 0:00:01\n",
" ------------------------------------- 849.9/857.8 kB 625.2 kB/s eta 0:00:01\n",
" -------------------------------------- 857.8/857.8 kB 623.7 kB/s eta 0:00:00\n",
"Downloading httpx-0.27.0-py3-none-any.whl (75 kB)\n",
" ---------------------------------------- 0.0/75.6 kB ? eta -:--:--\n",
" ---------------- ----------------------- 30.7/75.6 kB 660.6 kB/s eta 0:00:01\n",
" -------------------------------- ------- 61.4/75.6 kB 825.8 kB/s eta 0:00:01\n",
" ---------------------------------------- 75.6/75.6 kB 599.5 kB/s eta 0:00:00\n",
"Downloading httpcore-1.0.5-py3-none-any.whl (77 kB)\n",
" ---------------------------------------- 0.0/77.9 kB ? eta -:--:--\n",
" --------------- ------------------------ 30.7/77.9 kB 1.3 MB/s eta 0:00:01\n",
" ------------------------------- -------- 61.4/77.9 kB 812.7 kB/s eta 0:00:01\n",
" ---------------------------------------- 77.9/77.9 kB 615.3 kB/s eta 0:00:00\n",
"Downloading huggingface_hub-0.23.4-py3-none-any.whl (402 kB)\n",
" ---------------------------------------- 0.0/402.6 kB ? eta -:--:--\n",
" --- ------------------------------------ 30.7/402.6 kB 1.4 MB/s eta 0:00:01\n",
" ----- --------------------------------- 61.4/402.6 kB 825.8 kB/s eta 0:00:01\n",
" -------- ------------------------------ 92.2/402.6 kB 655.4 kB/s eta 0:00:01\n",
" ------------- ------------------------ 143.4/402.6 kB 774.0 kB/s eta 0:00:01\n",
" --------------- ---------------------- 163.8/402.6 kB 704.6 kB/s eta 0:00:01\n",
" ------------------- ------------------ 204.8/402.6 kB 734.2 kB/s eta 0:00:01\n",
" --------------------- ---------------- 225.3/402.6 kB 689.2 kB/s eta 0:00:01\n",
" -------------------------- ----------- 276.5/402.6 kB 741.6 kB/s eta 0:00:01\n",
" --------------------------- ---------- 286.7/402.6 kB 737.3 kB/s eta 0:00:01\n",
" ------------------------------- ------ 337.9/402.6 kB 723.4 kB/s eta 0:00:01\n",
" ---------------------------------- --- 368.6/402.6 kB 740.5 kB/s eta 0:00:01\n",
" -------------------------------------- 402.6/402.6 kB 717.4 kB/s eta 0:00:00\n",
"Downloading importlib_resources-6.4.0-py3-none-any.whl (38 kB)\n",
"Downloading orjson-3.10.5-cp312-none-win_amd64.whl (141 kB)\n",
" ---------------------------------------- 0.0/141.3 kB ? eta -:--:--\n",
" -------- ------------------------------ 30.7/141.3 kB 640.0 kB/s eta 0:00:01\n",
" ------------------- ------------------- 71.7/141.3 kB 653.6 kB/s eta 0:00:01\n",
" ------------------------------ ------- 112.6/141.3 kB 726.2 kB/s eta 0:00:01\n",
" -------------------------------------- 141.3/141.3 kB 762.1 kB/s eta 0:00:00\n",
"Downloading python_multipart-0.0.9-py3-none-any.whl (22 kB)\n",
"Downloading ruff-0.4.9-py3-none-win_amd64.whl (8.6 MB)\n",
" ---------------------------------------- 0.0/8.6 MB ? eta -:--:--\n",
" ---------------------------------------- 0.0/8.6 MB 1.4 MB/s eta 0:00:07\n",
" ---------------------------------------- 0.1/8.6 MB 1.1 MB/s eta 0:00:08\n",
" ---------------------------------------- 0.1/8.6 MB 751.6 kB/s eta 0:00:12\n",
" --------------------------------------- 0.1/8.6 MB 853.3 kB/s eta 0:00:10\n",
" --------------------------------------- 0.2/8.6 MB 706.2 kB/s eta 0:00:12\n",
" --------------------------------------- 0.2/8.6 MB 778.2 kB/s eta 0:00:11\n",
" - -------------------------------------- 0.2/8.6 MB 765.3 kB/s eta 0:00:11\n",
" - -------------------------------------- 0.3/8.6 MB 746.4 kB/s eta 0:00:12\n",
" - -------------------------------------- 0.3/8.6 MB 761.4 kB/s eta 0:00:11\n",
" - -------------------------------------- 0.3/8.6 MB 749.8 kB/s eta 0:00:12\n",
" - -------------------------------------- 0.4/8.6 MB 765.8 kB/s eta 0:00:11\n",
" - -------------------------------------- 0.4/8.6 MB 732.8 kB/s eta 0:00:12\n",
" -- ------------------------------------- 0.5/8.6 MB 761.8 kB/s eta 0:00:11\n",
" -- ------------------------------------- 0.5/8.6 MB 737.3 kB/s eta 0:00:12\n",
" -- ------------------------------------- 0.5/8.6 MB 747.8 kB/s eta 0:00:11\n",
" -- ------------------------------------- 0.6/8.6 MB 755.9 kB/s eta 0:00:11\n",
" -- ------------------------------------- 0.6/8.6 MB 749.6 kB/s eta 0:00:11\n",
" -- ------------------------------------- 0.6/8.6 MB 759.0 kB/s eta 0:00:11\n",
" --- ------------------------------------ 0.7/8.6 MB 762.9 kB/s eta 0:00:11\n",
" --- ------------------------------------ 0.7/8.6 MB 757.3 kB/s eta 0:00:11\n",
" --- ------------------------------------ 0.7/8.6 MB 752.2 kB/s eta 0:00:11\n",
" --- ------------------------------------ 0.8/8.6 MB 768.0 kB/s eta 0:00:11\n",
" --- ------------------------------------ 0.8/8.6 MB 753.8 kB/s eta 0:00:11\n",
" --- ------------------------------------ 0.8/8.6 MB 758.9 kB/s eta 0:00:11\n",
" ---- ----------------------------------- 0.9/8.6 MB 773.7 kB/s eta 0:00:10\n",
" ---- ----------------------------------- 0.9/8.6 MB 759.2 kB/s eta 0:00:11\n",
" ---- ----------------------------------- 1.0/8.6 MB 771.7 kB/s eta 0:00:10\n",
" ---- ----------------------------------- 1.0/8.6 MB 767.4 kB/s eta 0:00:10\n",
" ---- ----------------------------------- 1.0/8.6 MB 778.8 kB/s eta 0:00:10\n",
" ---- ----------------------------------- 1.1/8.6 MB 767.1 kB/s eta 0:00:10\n",
" ----- ---------------------------------- 1.1/8.6 MB 771.1 kB/s eta 0:00:10\n",
" ----- ---------------------------------- 1.1/8.6 MB 767.3 kB/s eta 0:00:10\n",
" ----- ---------------------------------- 1.2/8.6 MB 777.3 kB/s eta 0:00:10\n",
" ----- ---------------------------------- 1.2/8.6 MB 782.5 kB/s eta 0:00:10\n",
" ----- ---------------------------------- 1.3/8.6 MB 776.4 kB/s eta 0:00:10\n",
" ------ --------------------------------- 1.3/8.6 MB 779.1 kB/s eta 0:00:10\n",
" ------ --------------------------------- 1.3/8.6 MB 781.7 kB/s eta 0:00:10\n",
" ------ --------------------------------- 1.4/8.6 MB 784.1 kB/s eta 0:00:10\n",
" ------ --------------------------------- 1.4/8.6 MB 775.4 kB/s eta 0:00:10\n",
" ------ --------------------------------- 1.5/8.6 MB 783.4 kB/s eta 0:00:10\n",
" ------ --------------------------------- 1.5/8.6 MB 786.4 kB/s eta 0:00:10\n",
" ------- -------------------------------- 1.5/8.6 MB 787.7 kB/s eta 0:00:09\n",
" ------- -------------------------------- 1.6/8.6 MB 790.9 kB/s eta 0:00:09\n",
" ------- -------------------------------- 1.6/8.6 MB 791.6 kB/s eta 0:00:09\n",
" ------- -------------------------------- 1.7/8.6 MB 798.3 kB/s eta 0:00:09\n",
" ------- -------------------------------- 1.7/8.6 MB 791.4 kB/s eta 0:00:09\n",
" -------- ------------------------------- 1.7/8.6 MB 792.4 kB/s eta 0:00:09\n",
" -------- ------------------------------- 1.8/8.6 MB 789.5 kB/s eta 0:00:09\n",
" -------- ------------------------------- 1.8/8.6 MB 795.7 kB/s eta 0:00:09\n",
" -------- ------------------------------- 1.8/8.6 MB 798.3 kB/s eta 0:00:09\n",
" -------- ------------------------------- 1.9/8.6 MB 798.7 kB/s eta 0:00:09\n",
" --------- ------------------------------ 1.9/8.6 MB 804.4 kB/s eta 0:00:09\n",
" --------- ------------------------------ 2.0/8.6 MB 801.5 kB/s eta 0:00:09\n",
" --------- ------------------------------ 2.0/8.6 MB 806.9 kB/s eta 0:00:09\n",
" --------- ------------------------------ 2.1/8.6 MB 804.4 kB/s eta 0:00:09\n",
" --------- ------------------------------ 2.1/8.6 MB 809.6 kB/s eta 0:00:09\n",
" --------- ------------------------------ 2.1/8.6 MB 806.8 kB/s eta 0:00:09\n",
" ---------- ----------------------------- 2.2/8.6 MB 811.7 kB/s eta 0:00:08\n",
" ---------- ----------------------------- 2.2/8.6 MB 813.8 kB/s eta 0:00:08\n",
" ---------- ----------------------------- 2.3/8.6 MB 813.8 kB/s eta 0:00:08\n",
" ---------- ----------------------------- 2.3/8.6 MB 814.7 kB/s eta 0:00:08\n",
" ---------- ----------------------------- 2.4/8.6 MB 815.6 kB/s eta 0:00:08\n",
" ----------- ---------------------------- 2.4/8.6 MB 816.8 kB/s eta 0:00:08\n",
" ----------- ---------------------------- 2.4/8.6 MB 817.7 kB/s eta 0:00:08\n",
" ----------- ---------------------------- 2.5/8.6 MB 818.5 kB/s eta 0:00:08\n",
" ----------- ---------------------------- 2.5/8.6 MB 823.6 kB/s eta 0:00:08\n",
" ----------- ---------------------------- 2.6/8.6 MB 820.1 kB/s eta 0:00:08\n",
" ------------ --------------------------- 2.6/8.6 MB 828.3 kB/s eta 0:00:08\n",
" ------------ --------------------------- 2.6/8.6 MB 825.8 kB/s eta 0:00:08\n",
" ------------ --------------------------- 2.7/8.6 MB 831.8 kB/s eta 0:00:08\n",
" ------------ --------------------------- 2.7/8.6 MB 829.5 kB/s eta 0:00:08\n",
" ------------ --------------------------- 2.8/8.6 MB 833.2 kB/s eta 0:00:07\n",
" ------------- -------------------------- 2.8/8.6 MB 830.7 kB/s eta 0:00:07\n",
" ------------- -------------------------- 2.9/8.6 MB 834.2 kB/s eta 0:00:07\n",
" ------------- -------------------------- 2.9/8.6 MB 835.6 kB/s eta 0:00:07\n",
" ------------- -------------------------- 3.0/8.6 MB 839.0 kB/s eta 0:00:07\n",
" ------------- -------------------------- 3.0/8.6 MB 842.3 kB/s eta 0:00:07\n",
" -------------- ------------------------- 3.1/8.6 MB 839.0 kB/s eta 0:00:07\n",
" -------------- ------------------------- 3.1/8.6 MB 842.4 kB/s eta 0:00:07\n",
" -------------- ------------------------- 3.1/8.6 MB 842.8 kB/s eta 0:00:07\n",
" -------------- ------------------------- 3.2/8.6 MB 845.9 kB/s eta 0:00:07\n",
" -------------- ------------------------- 3.2/8.6 MB 844.3 kB/s eta 0:00:07\n",
" --------------- ------------------------ 3.3/8.6 MB 849.1 kB/s eta 0:00:07\n",
" --------------- ------------------------ 3.3/8.6 MB 850.3 kB/s eta 0:00:07\n",
" --------------- ------------------------ 3.4/8.6 MB 853.1 kB/s eta 0:00:07\n",
" --------------- ------------------------ 3.4/8.6 MB 853.3 kB/s eta 0:00:07\n",
" ---------------- ----------------------- 3.5/8.6 MB 852.9 kB/s eta 0:00:07\n",
" ---------------- ----------------------- 3.5/8.6 MB 855.6 kB/s eta 0:00:06\n",
" ---------------- ----------------------- 3.5/8.6 MB 856.4 kB/s eta 0:00:06\n",
" ---------------- ----------------------- 3.6/8.6 MB 859.3 kB/s eta 0:00:06\n",
" ---------------- ----------------------- 3.6/8.6 MB 858.6 kB/s eta 0:00:06\n",
" ----------------- ---------------------- 3.7/8.6 MB 864.3 kB/s eta 0:00:06\n",
" ----------------- ---------------------- 3.7/8.6 MB 864.4 kB/s eta 0:00:06\n",
" ----------------- ---------------------- 3.8/8.6 MB 863.7 kB/s eta 0:00:06\n",
" ----------------- ---------------------- 3.8/8.6 MB 869.2 kB/s eta 0:00:06\n",
" ------------------ --------------------- 3.9/8.6 MB 868.6 kB/s eta 0:00:06\n",
" ------------------ --------------------- 4.0/8.6 MB 873.2 kB/s eta 0:00:06\n",
" ------------------ --------------------- 4.0/8.6 MB 870.9 kB/s eta 0:00:06\n",
" ------------------ --------------------- 4.0/8.6 MB 875.4 kB/s eta 0:00:06\n",
" ------------------ --------------------- 4.1/8.6 MB 875.3 kB/s eta 0:00:06\n",
" ------------------- -------------------- 4.1/8.6 MB 879.6 kB/s eta 0:00:06\n",
" ------------------- -------------------- 4.2/8.6 MB 882.5 kB/s eta 0:00:06\n",
" ------------------- -------------------- 4.2/8.6 MB 883.9 kB/s eta 0:00:05\n",
" -------------------- ------------------- 4.3/8.6 MB 890.2 kB/s eta 0:00:05\n",
" -------------------- ------------------- 4.4/8.6 MB 887.9 kB/s eta 0:00:05\n",
" -------------------- ------------------- 4.4/8.6 MB 891.9 kB/s eta 0:00:05\n",
" -------------------- ------------------- 4.5/8.6 MB 893.7 kB/s eta 0:00:05\n",
" --------------------- ------------------ 4.5/8.6 MB 897.6 kB/s eta 0:00:05\n",
" --------------------- ------------------ 4.6/8.6 MB 899.4 kB/s eta 0:00:05\n",
" --------------------- ------------------ 4.6/8.6 MB 905.1 kB/s eta 0:00:05\n",
" --------------------- ------------------ 4.7/8.6 MB 907.6 kB/s eta 0:00:05\n",
" ---------------------- ----------------- 4.8/8.6 MB 910.6 kB/s eta 0:00:05\n",
" ---------------------- ----------------- 4.8/8.6 MB 914.1 kB/s eta 0:00:05\n",
" ---------------------- ----------------- 4.9/8.6 MB 915.7 kB/s eta 0:00:05\n",
" ----------------------- ---------------- 5.0/8.6 MB 922.9 kB/s eta 0:00:04\n",
" ----------------------- ---------------- 5.0/8.6 MB 924.4 kB/s eta 0:00:04\n",
" ----------------------- ---------------- 5.1/8.6 MB 927.7 kB/s eta 0:00:04\n",
" ----------------------- ---------------- 5.1/8.6 MB 931.8 kB/s eta 0:00:04\n",
" ------------------------ --------------- 5.2/8.6 MB 934.9 kB/s eta 0:00:04\n",
" ------------------------ --------------- 5.2/8.6 MB 934.9 kB/s eta 0:00:04\n",
" ------------------------ --------------- 5.2/8.6 MB 934.9 kB/s eta 0:00:04\n",
" ------------------------- -------------- 5.4/8.6 MB 948.0 kB/s eta 0:00:04\n",
" ------------------------- -------------- 5.4/8.6 MB 945.6 kB/s eta 0:00:04\n",
" ------------------------- -------------- 5.5/8.6 MB 945.9 kB/s eta 0:00:04\n",
" ------------------------- -------------- 5.5/8.6 MB 947.0 kB/s eta 0:00:04\n",
" ------------------------- -------------- 5.6/8.6 MB 948.2 kB/s eta 0:00:04\n",
" -------------------------- ------------- 5.6/8.6 MB 949.5 kB/s eta 0:00:04\n",
" -------------------------- ------------- 5.7/8.6 MB 950.6 kB/s eta 0:00:04\n",
" -------------------------- ------------- 5.7/8.6 MB 949.9 kB/s eta 0:00:04\n",
" -------------------------- ------------- 5.8/8.6 MB 951.9 kB/s eta 0:00:03\n",
" --------------------------- ------------ 5.8/8.6 MB 955.4 kB/s eta 0:00:03\n",
" --------------------------- ------------ 5.9/8.6 MB 952.5 kB/s eta 0:00:03\n",
" --------------------------- ------------ 5.9/8.6 MB 955.8 kB/s eta 0:00:03\n",
" --------------------------- ------------ 6.0/8.6 MB 954.5 kB/s eta 0:00:03\n",
" ---------------------------- ----------- 6.1/8.6 MB 957.2 kB/s eta 0:00:03\n",
" ---------------------------- ----------- 6.1/8.6 MB 961.2 kB/s eta 0:00:03\n",
" ---------------------------- ----------- 6.2/8.6 MB 961.5 kB/s eta 0:00:03\n",
" ---------------------------- ----------- 6.2/8.6 MB 962.4 kB/s eta 0:00:03\n",
" ----------------------------- ---------- 6.3/8.6 MB 962.6 kB/s eta 0:00:03\n",
" ----------------------------- ---------- 6.3/8.6 MB 965.8 kB/s eta 0:00:03\n",
" ----------------------------- ---------- 6.3/8.6 MB 965.8 kB/s eta 0:00:03\n",
" ----------------------------- ---------- 6.3/8.6 MB 965.8 kB/s eta 0:00:03\n",
" ------------------------------ --------- 6.5/8.6 MB 967.1 kB/s eta 0:00:03\n",
" ------------------------------ --------- 6.5/8.6 MB 967.9 kB/s eta 0:00:03\n",
" ------------------------------ --------- 6.5/8.6 MB 967.9 kB/s eta 0:00:03\n",
" ------------------------------ --------- 6.6/8.6 MB 966.6 kB/s eta 0:00:03\n",
" ------------------------------ --------- 6.6/8.6 MB 967.4 kB/s eta 0:00:03\n",
" ------------------------------- -------- 6.7/8.6 MB 965.3 kB/s eta 0:00:02\n",
" ------------------------------- -------- 6.7/8.6 MB 966.1 kB/s eta 0:00:02\n",
" ------------------------------- -------- 6.8/8.6 MB 964.0 kB/s eta 0:00:02\n",
" ------------------------------- -------- 6.8/8.6 MB 965.0 kB/s eta 0:00:02\n",
" ------------------------------- -------- 6.8/8.6 MB 962.9 kB/s eta 0:00:02\n",
" -------------------------------- ------- 6.9/8.6 MB 963.8 kB/s eta 0:00:02\n",
" -------------------------------- ------- 6.9/8.6 MB 963.9 kB/s eta 0:00:02\n",
" -------------------------------- ------- 7.0/8.6 MB 962.6 kB/s eta 0:00:02\n",
" -------------------------------- ------- 7.0/8.6 MB 963.4 kB/s eta 0:00:02\n",
" -------------------------------- ------- 7.1/8.6 MB 961.4 kB/s eta 0:00:02\n",
" --------------------------------- ------ 7.1/8.6 MB 962.2 kB/s eta 0:00:02\n",
" --------------------------------- ------ 7.1/8.6 MB 962.3 kB/s eta 0:00:02\n",
" --------------------------------- ------ 7.2/8.6 MB 963.1 kB/s eta 0:00:02\n",
" --------------------------------- ------ 7.2/8.6 MB 960.6 kB/s eta 0:00:02\n",
" --------------------------------- ------ 7.3/8.6 MB 961.4 kB/s eta 0:00:02\n",
" --------------------------------- ------ 7.3/8.6 MB 961.6 kB/s eta 0:00:02\n",
" ---------------------------------- ----- 7.4/8.6 MB 960.3 kB/s eta 0:00:02\n",
" ---------------------------------- ----- 7.4/8.6 MB 963.1 kB/s eta 0:00:02\n",
" ---------------------------------- ----- 7.5/8.6 MB 961.9 kB/s eta 0:00:02\n",
" ---------------------------------- ----- 7.5/8.6 MB 962.8 kB/s eta 0:00:02\n",
" ----------------------------------- ---- 7.5/8.6 MB 960.9 kB/s eta 0:00:02\n",
" ----------------------------------- ---- 7.6/8.6 MB 963.0 kB/s eta 0:00:02\n",
" ----------------------------------- ---- 7.6/8.6 MB 961.2 kB/s eta 0:00:02\n",
" ----------------------------------- ---- 7.7/8.6 MB 961.9 kB/s eta 0:00:01\n",
" ----------------------------------- ---- 7.7/8.6 MB 962.7 kB/s eta 0:00:01\n",
" ------------------------------------ --- 7.8/8.6 MB 963.4 kB/s eta 0:00:01\n",
" ------------------------------------ --- 7.8/8.6 MB 964.1 kB/s eta 0:00:01\n",
" ------------------------------------ --- 7.9/8.6 MB 963.7 kB/s eta 0:00:01\n",
" ------------------------------------ --- 7.9/8.6 MB 964.4 kB/s eta 0:00:01\n",
" ------------------------------------- -- 8.0/8.6 MB 962.7 kB/s eta 0:00:01\n",
" ------------------------------------- -- 8.0/8.6 MB 965.9 kB/s eta 0:00:01\n",
" ------------------------------------- -- 8.1/8.6 MB 965.9 kB/s eta 0:00:01\n",
" ------------------------------------- -- 8.1/8.6 MB 964.8 kB/s eta 0:00:01\n",
" ------------------------------------- -- 8.2/8.6 MB 967.3 kB/s eta 0:00:01\n",
" -------------------------------------- - 8.2/8.6 MB 965.0 kB/s eta 0:00:01\n",
" -------------------------------------- - 8.3/8.6 MB 965.8 kB/s eta 0:00:01\n",
" -------------------------------------- - 8.3/8.6 MB 966.4 kB/s eta 0:00:01\n",
" -------------------------------------- - 8.4/8.6 MB 967.1 kB/s eta 0:00:01\n",
" --------------------------------------- 8.4/8.6 MB 965.4 kB/s eta 0:00:01\n",
" --------------------------------------- 8.5/8.6 MB 967.3 kB/s eta 0:00:01\n",
" --------------------------------------- 8.5/8.6 MB 968.5 kB/s eta 0:00:01\n",
" --------------------------------------- 8.6/8.6 MB 968.6 kB/s eta 0:00:01\n",
" --------------------------------------- 8.6/8.6 MB 969.8 kB/s eta 0:00:01\n",
" ---------------------------------------- 8.6/8.6 MB 963.3 kB/s eta 0:00:00\n",
"Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)\n",
"Downloading uvicorn-0.30.1-py3-none-any.whl (62 kB)\n",
" ---------------------------------------- 0.0/62.4 kB ? eta -:--:--\n",
" ---------------------------------------- 62.4/62.4 kB 3.5 MB/s eta 0:00:00\n",
"Downloading fastapi-0.111.0-py3-none-any.whl (91 kB)\n",
" ---------------------------------------- 0.0/92.0 kB ? eta -:--:--\n",
" ------------- -------------------------- 30.7/92.0 kB 1.3 MB/s eta 0:00:01\n",
" -------------------------- ------------- 61.4/92.0 kB 812.7 kB/s eta 0:00:01\n",
" ---------------------------------------- 92.0/92.0 kB 750.0 kB/s eta 0:00:00\n",
"Downloading pydub-0.25.1-py2.py3-none-any.whl (32 kB)\n",
"Downloading email_validator-2.1.1-py3-none-any.whl (30 kB)\n",
"Downloading fastapi_cli-0.0.4-py3-none-any.whl (9.5 kB)\n",
"Downloading jsonschema-4.22.0-py3-none-any.whl (88 kB)\n",
" ---------------------------------------- 0.0/88.3 kB ? eta -:--:--\n",
" ------------------ --------------------- 41.0/88.3 kB 653.6 kB/s eta 0:00:01\n",
" --------------------------- ------------ 61.4/88.3 kB 825.8 kB/s eta 0:00:01\n",
" ---------------------------------------- 88.3/88.3 kB 716.3 kB/s eta 0:00:00\n",
"Downloading starlette-0.37.2-py3-none-any.whl (71 kB)\n",
" ---------------------------------------- 0.0/71.9 kB ? eta -:--:--\n",
" ----------------- ---------------------- 30.7/71.9 kB 1.3 MB/s eta 0:00:01\n",
" ---------------------------------------- 71.9/71.9 kB 790.6 kB/s eta 0:00:00\n",
"Downloading anyio-4.4.0-py3-none-any.whl (86 kB)\n",
" ---------------------------------------- 0.0/86.8 kB ? eta -:--:--\n",
" ------------------ --------------------- 41.0/86.8 kB 991.0 kB/s eta 0:00:01\n",
" ---------------------------- ----------- 61.4/86.8 kB 812.7 kB/s eta 0:00:01\n",
" ---------------------------------------- 86.8/86.8 kB 702.2 kB/s eta 0:00:00\n",
"Downloading ujson-5.10.0-cp312-cp312-win_amd64.whl (42 kB)\n",
" ---------------------------------------- 0.0/42.2 kB ? eta -:--:--\n",
" ---------------------------------------- 42.2/42.2 kB 1.0 MB/s eta 0:00:00\n",
"Downloading websockets-11.0.3-py3-none-any.whl (118 kB)\n",
" ---------------------------------------- 0.0/118.1 kB ? eta -:--:--\n",
" ---------- ----------------------------- 30.7/118.1 kB 1.3 MB/s eta 0:00:01\n",
" --------------------------- ------------ 81.9/118.1 kB 1.1 MB/s eta 0:00:01\n",
" ------------------------------------ - 112.6/118.1 kB 930.9 kB/s eta 0:00:01\n",
" -------------------------------------- 118.1/118.1 kB 764.7 kB/s eta 0:00:00\n",
"Downloading toolz-0.12.1-py3-none-any.whl (56 kB)\n",
" ---------------------------------------- 0.0/56.1 kB ? eta -:--:--\n",
" ------------------------------------ --- 51.2/56.1 kB 871.5 kB/s eta 0:00:01\n",
" ---------------------------------------- 56.1/56.1 kB 976.2 kB/s eta 0:00:00\n",
"Downloading dnspython-2.6.1-py3-none-any.whl (307 kB)\n",
" ---------------------------------------- 0.0/307.7 kB ? eta -:--:--\n",
" --- ------------------------------------ 30.7/307.7 kB 1.4 MB/s eta 0:00:01\n",
" ---------- ----------------------------- 81.9/307.7 kB 1.2 MB/s eta 0:00:01\n",
" ------------- ------------------------ 112.6/307.7 kB 939.4 kB/s eta 0:00:01\n",
" ----------------- -------------------- 143.4/307.7 kB 853.3 kB/s eta 0:00:01\n",
" ------------------------ ------------- 194.6/307.7 kB 841.6 kB/s eta 0:00:01\n",
" ------------------------------ ------- 245.8/307.7 kB 888.8 kB/s eta 0:00:01\n",
" ---------------------------------- --- 276.5/307.7 kB 853.3 kB/s eta 0:00:01\n",
" -------------------------------------- 307.7/307.7 kB 864.7 kB/s eta 0:00:00\n",
"Downloading httptools-0.6.1-cp312-cp312-win_amd64.whl (55 kB)\n",
" ---------------------------------------- 0.0/55.7 kB ? eta -:--:--\n",
" ------------------------------------ --- 51.2/55.7 kB 890.4 kB/s eta 0:00:01\n",
" ---------------------------------------- 55.7/55.7 kB 732.6 kB/s eta 0:00:00\n",
"Downloading jsonschema_specifications-2023.12.1-py3-none-any.whl (18 kB)\n",
"Downloading python_dotenv-1.0.1-py3-none-any.whl (19 kB)\n",
"Downloading referencing-0.35.1-py3-none-any.whl (26 kB)\n",
"Downloading rpds_py-0.18.1-cp312-none-win_amd64.whl (209 kB)\n",
" ---------------------------------------- 0.0/209.3 kB ? eta -:--:--\n",
" ------- ------------------------------- 41.0/209.3 kB 991.0 kB/s eta 0:00:01\n",
" --------------- ------------------------ 81.9/209.3 kB 1.2 MB/s eta 0:00:01\n",
" ----------------------- ---------------- 122.9/209.3 kB 1.0 MB/s eta 0:00:01\n",
" --------------------------------- ------ 174.1/209.3 kB 1.1 MB/s eta 0:00:01\n",
" -------------------------------------- 209.3/209.3 kB 909.0 kB/s eta 0:00:00\n",
"Downloading watchfiles-0.22.0-cp312-none-win_amd64.whl (280 kB)\n",
" ---------------------------------------- 0.0/281.0 kB ? eta -:--:--\n",
" ----- --------------------------------- 41.0/281.0 kB 991.0 kB/s eta 0:00:01\n",
" ----------- ---------------------------- 81.9/281.0 kB 1.2 MB/s eta 0:00:01\n",
" ---------------- --------------------- 122.9/281.0 kB 901.1 kB/s eta 0:00:01\n",
" ----------------------- -------------- 174.1/281.0 kB 952.6 kB/s eta 0:00:01\n",
" --------------------------- ---------- 204.8/281.0 kB 892.5 kB/s eta 0:00:01\n",
" ---------------------------------- --- 256.0/281.0 kB 927.4 kB/s eta 0:00:01\n",
" -------------------------------------- 281.0/281.0 kB 963.4 kB/s eta 0:00:00\n",
"Building wheels for collected packages: ffmpy\n",
" Building wheel for ffmpy (pyproject.toml): started\n",
" Building wheel for ffmpy (pyproject.toml): finished with status 'done'\n",
" Created wheel for ffmpy: filename=ffmpy-0.3.2-py3-none-any.whl size=5607 sha256=c6f10e70677b8e8953333178b20b7dfc4eb4c81f396241c848bc8a772c77ebd6\n",
" Stored in directory: c:\\users\\pc\\appdata\\local\\pip\\cache\\wheels\\8a\\63\\a8\\fad16a1c5c990569a478f40782ce543788ddac224288008635\n",
"Successfully built ffmpy\n",
"Installing collected packages: pydub, ffmpy, websockets, ujson, toolz, tomlkit, semantic-version, ruff, rpds-py, python-multipart, python-dotenv, orjson, importlib-resources, httptools, httpcore, dnspython, anyio, aiofiles, watchfiles, uvicorn, starlette, referencing, huggingface-hub, httpx, email_validator, jsonschema-specifications, gradio-client, jsonschema, fastapi-cli, fastapi, altair, gradio\n",
"Successfully installed aiofiles-23.2.1 altair-5.3.0 anyio-4.4.0 dnspython-2.6.1 email_validator-2.1.1 fastapi-0.111.0 fastapi-cli-0.0.4 ffmpy-0.3.2 gradio-4.36.1 gradio-client-1.0.1 httpcore-1.0.5 httptools-0.6.1 httpx-0.27.0 huggingface-hub-0.23.4 importlib-resources-6.4.0 jsonschema-4.22.0 jsonschema-specifications-2023.12.1 orjson-3.10.5 pydub-0.25.1 python-dotenv-1.0.1 python-multipart-0.0.9 referencing-0.35.1 rpds-py-0.18.1 ruff-0.4.9 semantic-version-2.10.0 starlette-0.37.2 tomlkit-0.12.0 toolz-0.12.1 ujson-5.10.0 uvicorn-0.30.1 watchfiles-0.22.0 websockets-11.0.3\n"
]
},
{
"name": "stderr",
"output_type": "stream",
"text": [
"\n",
"[notice] A new release of pip is available: 23.2.1 -> 24.0\n",
"[notice] To update, run: python.exe -m pip install --upgrade pip\n"
]
}
],
"source": [
"!pip install gradio"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"Matplotlib is building the font cache; this may take a moment.\n"
]
},
{
"ename": "ModuleNotFoundError",
"evalue": "No module named 'gradio'",
"output_type": "error",
"traceback": [
"\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[1;31mModuleNotFoundError\u001b[0m Traceback (most recent call last)",
"Cell \u001b[1;32mIn[2], line 2\u001b[0m\n\u001b[0;32m 1\u001b[0m \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;21;01mfastai\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mvision\u001b[39;00m\u001b[38;5;21;01m.\u001b[39;00m\u001b[38;5;21;01mall\u001b[39;00m \u001b[38;5;28;01mimport\u001b[39;00m \u001b[38;5;241m*\u001b[39m\n\u001b[1;32m----> 2\u001b[0m \u001b[38;5;28;01mimport\u001b[39;00m \u001b[38;5;21;01mgradio\u001b[39;00m \u001b[38;5;28;01mas\u001b[39;00m \u001b[38;5;21;01mgr\u001b[39;00m\n",
"\u001b[1;31mModuleNotFoundError\u001b[0m: No module named 'gradio'"
]
}
],
"source": [
"from fastai.vision.all import *\n",
"import gradio as gr\n",
"def is_cat(x): return x[0].isupper()\n"
]
},
{
"cell_type": "code",
"execution_count": 17,
"metadata": {},
"outputs": [
{
"ename": "NotImplementedError",
"evalue": "cannot instantiate 'PosixPath' on your system",
"output_type": "error",
"traceback": [
"\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[1;31mNotImplementedError\u001b[0m Traceback (most recent call last)",
"Cell \u001b[1;32mIn[17], line 1\u001b[0m\n\u001b[1;32m----> 1\u001b[0m learn\u001b[38;5;241m=\u001b[39m\u001b[43mload_learner\u001b[49m\u001b[43m(\u001b[49m\u001b[38;5;124;43m'\u001b[39;49m\u001b[38;5;124;43mmodel.pkl\u001b[39;49m\u001b[38;5;124;43m'\u001b[39;49m\u001b[43m)\u001b[49m\n",
"File \u001b[1;32mc:\\Users\\PC\\AppData\\Local\\Programs\\Python\\Python312\\Lib\\site-packages\\fastai\\learner.py:446\u001b[0m, in \u001b[0;36mload_learner\u001b[1;34m(fname, cpu, pickle_module)\u001b[0m\n\u001b[0;32m 444\u001b[0m distrib_barrier()\n\u001b[0;32m 445\u001b[0m map_loc \u001b[38;5;241m=\u001b[39m \u001b[38;5;124m'\u001b[39m\u001b[38;5;124mcpu\u001b[39m\u001b[38;5;124m'\u001b[39m \u001b[38;5;28;01mif\u001b[39;00m cpu \u001b[38;5;28;01melse\u001b[39;00m default_device()\n\u001b[1;32m--> 446\u001b[0m \u001b[38;5;28;01mtry\u001b[39;00m: res \u001b[38;5;241m=\u001b[39m \u001b[43mtorch\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mload\u001b[49m\u001b[43m(\u001b[49m\u001b[43mfname\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mmap_location\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mmap_loc\u001b[49m\u001b[43m,\u001b[49m\u001b[43m \u001b[49m\u001b[43mpickle_module\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43mpickle_module\u001b[49m\u001b[43m)\u001b[49m\n\u001b[0;32m 447\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mAttributeError\u001b[39;00m \u001b[38;5;28;01mas\u001b[39;00m e: \n\u001b[0;32m 448\u001b[0m e\u001b[38;5;241m.\u001b[39margs \u001b[38;5;241m=\u001b[39m [\u001b[38;5;124mf\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mCustom classes or functions exported with your `Learner` not available in namespace.\u001b[39m\u001b[38;5;124m\\\u001b[39m\u001b[38;5;124mRe-declare/import before loading:\u001b[39m\u001b[38;5;130;01m\\n\u001b[39;00m\u001b[38;5;130;01m\\t\u001b[39;00m\u001b[38;5;132;01m{\u001b[39;00me\u001b[38;5;241m.\u001b[39margs[\u001b[38;5;241m0\u001b[39m]\u001b[38;5;132;01m}\u001b[39;00m\u001b[38;5;124m\"\u001b[39m]\n",
"File \u001b[1;32mc:\\Users\\PC\\AppData\\Local\\Programs\\Python\\Python312\\Lib\\site-packages\\torch\\serialization.py:1025\u001b[0m, in \u001b[0;36mload\u001b[1;34m(f, map_location, pickle_module, weights_only, mmap, **pickle_load_args)\u001b[0m\n\u001b[0;32m 1023\u001b[0m \u001b[38;5;28;01mexcept\u001b[39;00m \u001b[38;5;167;01mRuntimeError\u001b[39;00m \u001b[38;5;28;01mas\u001b[39;00m e:\n\u001b[0;32m 1024\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m pickle\u001b[38;5;241m.\u001b[39mUnpicklingError(UNSAFE_MESSAGE \u001b[38;5;241m+\u001b[39m \u001b[38;5;28mstr\u001b[39m(e)) \u001b[38;5;28;01mfrom\u001b[39;00m \u001b[38;5;28;01mNone\u001b[39;00m\n\u001b[1;32m-> 1025\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[43m_load\u001b[49m\u001b[43m(\u001b[49m\u001b[43mopened_zipfile\u001b[49m\u001b[43m,\u001b[49m\n\u001b[0;32m 1026\u001b[0m \u001b[43m \u001b[49m\u001b[43mmap_location\u001b[49m\u001b[43m,\u001b[49m\n\u001b[0;32m 1027\u001b[0m \u001b[43m \u001b[49m\u001b[43mpickle_module\u001b[49m\u001b[43m,\u001b[49m\n\u001b[0;32m 1028\u001b[0m \u001b[43m \u001b[49m\u001b[43moverall_storage\u001b[49m\u001b[38;5;241;43m=\u001b[39;49m\u001b[43moverall_storage\u001b[49m\u001b[43m,\u001b[49m\n\u001b[0;32m 1029\u001b[0m \u001b[43m \u001b[49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[38;5;241;43m*\u001b[39;49m\u001b[43mpickle_load_args\u001b[49m\u001b[43m)\u001b[49m\n\u001b[0;32m 1030\u001b[0m \u001b[38;5;28;01mif\u001b[39;00m mmap:\n\u001b[0;32m 1031\u001b[0m f_name \u001b[38;5;241m=\u001b[39m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124m\"\u001b[39m \u001b[38;5;28;01mif\u001b[39;00m \u001b[38;5;129;01mnot\u001b[39;00m \u001b[38;5;28misinstance\u001b[39m(f, \u001b[38;5;28mstr\u001b[39m) \u001b[38;5;28;01melse\u001b[39;00m \u001b[38;5;124mf\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;132;01m{\u001b[39;00mf\u001b[38;5;132;01m}\u001b[39;00m\u001b[38;5;124m, \u001b[39m\u001b[38;5;124m\"\u001b[39m\n",
"File \u001b[1;32mc:\\Users\\PC\\AppData\\Local\\Programs\\Python\\Python312\\Lib\\site-packages\\torch\\serialization.py:1446\u001b[0m, in \u001b[0;36m_load\u001b[1;34m(zip_file, map_location, pickle_module, pickle_file, overall_storage, **pickle_load_args)\u001b[0m\n\u001b[0;32m 1444\u001b[0m unpickler \u001b[38;5;241m=\u001b[39m UnpicklerWrapper(data_file, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mpickle_load_args)\n\u001b[0;32m 1445\u001b[0m unpickler\u001b[38;5;241m.\u001b[39mpersistent_load \u001b[38;5;241m=\u001b[39m persistent_load\n\u001b[1;32m-> 1446\u001b[0m result \u001b[38;5;241m=\u001b[39m \u001b[43munpickler\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mload\u001b[49m\u001b[43m(\u001b[49m\u001b[43m)\u001b[49m\n\u001b[0;32m 1448\u001b[0m torch\u001b[38;5;241m.\u001b[39m_utils\u001b[38;5;241m.\u001b[39m_validate_loaded_sparse_tensors()\n\u001b[0;32m 1449\u001b[0m torch\u001b[38;5;241m.\u001b[39m_C\u001b[38;5;241m.\u001b[39m_log_api_usage_metadata(\n\u001b[0;32m 1450\u001b[0m \u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mtorch.load.metadata\u001b[39m\u001b[38;5;124m\"\u001b[39m, {\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mserialization_id\u001b[39m\u001b[38;5;124m\"\u001b[39m: zip_file\u001b[38;5;241m.\u001b[39mserialization_id()}\n\u001b[0;32m 1451\u001b[0m )\n",
"File \u001b[1;32mc:\\Users\\PC\\AppData\\Local\\Programs\\Python\\Python312\\Lib\\pathlib.py:1422\u001b[0m, in \u001b[0;36mPosixPath.__new__\u001b[1;34m(cls, *args, **kwargs)\u001b[0m\n\u001b[0;32m 1421\u001b[0m \u001b[38;5;28;01mdef\u001b[39;00m \u001b[38;5;21m__new__\u001b[39m(\u001b[38;5;28mcls\u001b[39m, \u001b[38;5;241m*\u001b[39margs, \u001b[38;5;241m*\u001b[39m\u001b[38;5;241m*\u001b[39mkwargs):\n\u001b[1;32m-> 1422\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m \u001b[38;5;167;01mNotImplementedError\u001b[39;00m(\n\u001b[0;32m 1423\u001b[0m \u001b[38;5;124mf\u001b[39m\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mcannot instantiate \u001b[39m\u001b[38;5;132;01m{\u001b[39;00m\u001b[38;5;28mcls\u001b[39m\u001b[38;5;241m.\u001b[39m\u001b[38;5;18m__name__\u001b[39m\u001b[38;5;132;01m!r}\u001b[39;00m\u001b[38;5;124m on your system\u001b[39m\u001b[38;5;124m\"\u001b[39m)\n",
"\u001b[1;31mNotImplementedError\u001b[0m: cannot instantiate 'PosixPath' on your system"
]
}
],
"source": [
"learn=load_learner('model.pkl')"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.1"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
|