{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "95c32116", "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Requirement already satisfied: huggingface_hub in e:\\anaconda\\lib\\site-packages (0.34.4)\n", "Collecting gradio\n", " Obtaining dependency information for gradio from https://files.pythonhosted.org/packages/7e/e2/41f991b2e212b7afda3a9927676ebf8af302e5a2c632b330bd70bf2cf2c1/gradio-6.14.0-py3-none-any.whl.metadata\n", " Downloading gradio-6.14.0-py3-none-any.whl.metadata (17 kB)\n", "Requirement already satisfied: filelock in e:\\anaconda\\lib\\site-packages (from huggingface_hub) (3.9.0)\n", "Requirement already satisfied: fsspec>=2023.5.0 in e:\\anaconda\\lib\\site-packages (from huggingface_hub) (2023.10.0)\n", "Requirement already satisfied: packaging>=20.9 in e:\\anaconda\\lib\\site-packages (from huggingface_hub) (25.0)\n", "Requirement already satisfied: pyyaml>=5.1 in e:\\anaconda\\lib\\site-packages (from huggingface_hub) (6.0.2)\n", "Requirement already satisfied: requests in e:\\anaconda\\lib\\site-packages (from huggingface_hub) (2.32.4)\n", "Requirement already satisfied: tqdm>=4.42.1 in e:\\anaconda\\lib\\site-packages (from huggingface_hub) (4.67.1)\n", "Requirement already satisfied: typing-extensions>=3.7.4.3 in e:\\anaconda\\lib\\site-packages (from huggingface_hub) (4.15.0)\n", "Requirement already satisfied: anyio<5.0,>=3.0 in e:\\anaconda\\lib\\site-packages (from gradio) (3.5.0)\n", "Collecting brotli>=1.1.0 (from gradio)\n", " Obtaining dependency information for brotli>=1.1.0 from https://files.pythonhosted.org/packages/02/8b/ecb5761b989629a4758c394b9301607a5880de61ee2ee5fe104b87149ebc/brotli-1.2.0-cp311-cp311-win_amd64.whl.metadata\n", " Downloading brotli-1.2.0-cp311-cp311-win_amd64.whl.metadata (6.3 kB)\n", "Collecting fastapi<1.0,>=0.115.2 (from gradio)\n", " Obtaining dependency information for fastapi<1.0,>=0.115.2 from https://files.pythonhosted.org/packages/5a/ff/2e4eca3ade2c22fe1dea7043b8ee9dabe47753349eb1b56a202de8af6349/fastapi-0.136.1-py3-none-any.whl.metadata\n", " Downloading fastapi-0.136.1-py3-none-any.whl.metadata (28 kB)\n", "Collecting gradio-client==2.5.0 (from gradio)\n", " Obtaining dependency information for gradio-client==2.5.0 from https://files.pythonhosted.org/packages/78/81/0a861b8e1ff42960139c6cd4c7dd591292fa09ea1ae2d87677441cba4c00/gradio_client-2.5.0-py3-none-any.whl.metadata\n", " Downloading gradio_client-2.5.0-py3-none-any.whl.metadata (7.1 kB)\n", "Collecting groovy~=0.1 (from gradio)\n", " Obtaining dependency information for groovy~=0.1 from https://files.pythonhosted.org/packages/28/27/3d6dcadc8a3214d8522c1e7f6a19554e33659be44546d44a2f7572ac7d2a/groovy-0.1.2-py3-none-any.whl.metadata\n", " Downloading groovy-0.1.2-py3-none-any.whl.metadata (6.1 kB)\n", "Collecting hf-gradio<1.0,>=0.4.1 (from gradio)\n", " Obtaining dependency information for hf-gradio<1.0,>=0.4.1 from https://files.pythonhosted.org/packages/30/2d/afff2ee87e75d8eb85c92bb8cf0e15b05c23c2ebd8fd8dec781d8601ed7f/hf_gradio-0.4.1-py3-none-any.whl.metadata\n", " Downloading hf_gradio-0.4.1-py3-none-any.whl.metadata (428 bytes)\n", "Requirement already satisfied: httpx<1.0,>=0.24.1 in e:\\anaconda\\lib\\site-packages (from gradio) (0.24.1)\n", "Requirement already satisfied: jinja2<4.0 in e:\\anaconda\\lib\\site-packages (from gradio) (3.1.2)\n", "Requirement already satisfied: markupsafe<4.0,>=2.0 in e:\\anaconda\\lib\\site-packages (from gradio) (2.1.1)\n", "Requirement already satisfied: numpy<3.0,>=1.0 in e:\\anaconda\\lib\\site-packages (from gradio) (1.26.4)\n", "Collecting orjson~=3.0 (from gradio)\n", " Obtaining dependency information for orjson~=3.0 from https://files.pythonhosted.org/packages/13/26/9fe70f81d16b702f8c3a775e8731b50ad91d22dacd14c7599b60a0941cd1/orjson-3.11.8-cp311-cp311-win_amd64.whl.metadata\n", " Downloading orjson-3.11.8-cp311-cp311-win_amd64.whl.metadata (43 kB)\n", " ---------------------------------------- 0.0/43.1 kB ? eta -:--:--\n", " ---------------------------------------- 43.1/43.1 kB ? eta 0:00:00\n", "Requirement already satisfied: pandas<4.0,>=1.0 in e:\\anaconda\\lib\\site-packages (from gradio) (2.3.2)\n", "Requirement already satisfied: pillow<13.0,>=8.0 in e:\\anaconda\\lib\\site-packages (from gradio) (11.3.0)\n", "Collecting pydantic<=3.0,>=2.0 (from gradio)\n", " Obtaining dependency information for pydantic<=3.0,>=2.0 from https://files.pythonhosted.org/packages/f3/0a/fd7d723f8f8153418fb40cf9c940e82004fce7e987026b08a68a36dd3fe7/pydantic-2.13.3-py3-none-any.whl.metadata\n", " Downloading pydantic-2.13.3-py3-none-any.whl.metadata (108 kB)\n", " ---------------------------------------- 0.0/108.8 kB ? eta -:--:--\n", " -------------------------------------- 108.8/108.8 kB 6.2 MB/s eta 0:00:00\n", "Collecting pydub<1.0 (from gradio)\n", " Obtaining dependency information for pydub<1.0 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<1.0,>=0.0.18 (from gradio)\n", " Obtaining dependency information for python-multipart<1.0,>=0.0.18 from https://files.pythonhosted.org/packages/99/78/4126abcbdbd3c559d43e0db7f7b9173fc6befe45d39a2856cc0b8ec2a5a6/python_multipart-0.0.27-py3-none-any.whl.metadata\n", " Downloading python_multipart-0.0.27-py3-none-any.whl.metadata (2.1 kB)\n", "Requirement already satisfied: pytz>=2017.2 in e:\\anaconda\\lib\\site-packages (from gradio) (2025.2)\n", "Collecting safehttpx<0.2.0,>=0.1.7 (from gradio)\n", " Obtaining dependency information for safehttpx<0.2.0,>=0.1.7 from https://files.pythonhosted.org/packages/2e/a3/0f0b7d78e2f1eb9e8e1afbff1d2bff8d60144aee17aca51c065b516743dd/safehttpx-0.1.7-py3-none-any.whl.metadata\n", " Downloading safehttpx-0.1.7-py3-none-any.whl.metadata (4.2 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 starlette<2.0,>=0.40.0 (from gradio)\n", " Obtaining dependency information for starlette<2.0,>=0.40.0 from https://files.pythonhosted.org/packages/0b/c9/584bc9651441b4ba60cc4d557d8a547b5aff901af35bda3a4ee30c819b82/starlette-1.0.0-py3-none-any.whl.metadata\n", " Downloading starlette-1.0.0-py3-none-any.whl.metadata (6.3 kB)\n", "Collecting tomlkit<0.15.0,>=0.12.0 (from gradio)\n", " Obtaining dependency information for tomlkit<0.15.0,>=0.12.0 from https://files.pythonhosted.org/packages/b5/11/87d6d29fb5d237229d67973a6c9e06e048f01cf4994dee194ab0ea841814/tomlkit-0.14.0-py3-none-any.whl.metadata\n", " Downloading tomlkit-0.14.0-py3-none-any.whl.metadata (2.8 kB)\n", "Collecting typer<1.0,>=0.12 (from gradio)\n", " Obtaining dependency information for typer<1.0,>=0.12 from https://files.pythonhosted.org/packages/3f/f9/2b3ff4e56e5fa7debfaf9eb135d0da96f3e9a1d5b27222223c7296336e5f/typer-0.25.1-py3-none-any.whl.metadata\n", " Downloading typer-0.25.1-py3-none-any.whl.metadata (15 kB)\n", "Requirement already satisfied: uvicorn>=0.14.0 in e:\\anaconda\\lib\\site-packages (from gradio) (0.23.2)\n", "Requirement already satisfied: idna>=2.8 in e:\\anaconda\\lib\\site-packages (from anyio<5.0,>=3.0->gradio) (3.4)\n", "Requirement already satisfied: sniffio>=1.1 in e:\\anaconda\\lib\\site-packages (from anyio<5.0,>=3.0->gradio) (1.3.1)\n", "Collecting typing-inspection>=0.4.2 (from fastapi<1.0,>=0.115.2->gradio)\n", " Obtaining dependency information for typing-inspection>=0.4.2 from https://files.pythonhosted.org/packages/dc/9b/47798a6c91d8bdb567fe2698fe81e0c6b7cb7ef4d13da4114b41d239f65d/typing_inspection-0.4.2-py3-none-any.whl.metadata\n", " Downloading typing_inspection-0.4.2-py3-none-any.whl.metadata (2.6 kB)\n", "Collecting annotated-doc>=0.0.2 (from fastapi<1.0,>=0.115.2->gradio)\n", " Obtaining dependency information for annotated-doc>=0.0.2 from https://files.pythonhosted.org/packages/1e/d3/26bf1008eb3d2daa8ef4cacc7f3bfdc11818d111f7e2d0201bc6e3b49d45/annotated_doc-0.0.4-py3-none-any.whl.metadata\n", " Downloading annotated_doc-0.0.4-py3-none-any.whl.metadata (6.6 kB)\n", "Requirement already satisfied: certifi in e:\\anaconda\\lib\\site-packages (from httpx<1.0,>=0.24.1->gradio) (2025.8.3)\n", "Requirement already satisfied: httpcore<0.18.0,>=0.15.0 in e:\\anaconda\\lib\\site-packages (from httpx<1.0,>=0.24.1->gradio) (0.17.3)\n", "Requirement already satisfied: python-dateutil>=2.8.2 in e:\\anaconda\\lib\\site-packages (from pandas<4.0,>=1.0->gradio) (2.8.2)\n", "Requirement already satisfied: tzdata>=2022.7 in e:\\anaconda\\lib\\site-packages (from pandas<4.0,>=1.0->gradio) (2025.2)\n", "Collecting annotated-types>=0.6.0 (from pydantic<=3.0,>=2.0->gradio)\n", " Obtaining dependency information for annotated-types>=0.6.0 from https://files.pythonhosted.org/packages/78/b6/6307fbef88d9b5ee7421e68d78a9f162e0da4900bc5f5793f6d3d0e34fb8/annotated_types-0.7.0-py3-none-any.whl.metadata\n", " Downloading annotated_types-0.7.0-py3-none-any.whl.metadata (15 kB)\n", "Collecting pydantic-core==2.46.3 (from pydantic<=3.0,>=2.0->gradio)\n", " Obtaining dependency information for pydantic-core==2.46.3 from https://files.pythonhosted.org/packages/18/9c/f41951b0d858e343f1cf09398b2a7b3014013799744f2c4a8ad6a3eec4f2/pydantic_core-2.46.3-cp311-cp311-win_amd64.whl.metadata\n", " Downloading pydantic_core-2.46.3-cp311-cp311-win_amd64.whl.metadata (6.7 kB)\n", "Collecting anyio<5.0,>=3.0 (from gradio)\n", " Obtaining dependency information for anyio<5.0,>=3.0 from https://files.pythonhosted.org/packages/da/42/e921fccf5015463e32a3cf6ee7f980a6ed0f395ceeaa45060b61d86486c2/anyio-4.13.0-py3-none-any.whl.metadata\n", " Downloading anyio-4.13.0-py3-none-any.whl.metadata (4.5 kB)\n", "Requirement already satisfied: colorama in e:\\anaconda\\lib\\site-packages (from tqdm>=4.42.1->huggingface_hub) (0.4.6)\n", "Collecting click>=8.2.1 (from typer<1.0,>=0.12->gradio)\n", " Obtaining dependency information for click>=8.2.1 from https://files.pythonhosted.org/packages/ae/44/c1221527f6a71a01ec6fbad7fa78f1d50dfa02217385cf0fa3eec7087d59/click-8.3.3-py3-none-any.whl.metadata\n", " Downloading click-8.3.3-py3-none-any.whl.metadata (2.6 kB)\n", "Collecting shellingham>=1.3.0 (from typer<1.0,>=0.12->gradio)\n", " Obtaining dependency information for shellingham>=1.3.0 from https://files.pythonhosted.org/packages/e0/f9/0595336914c5619e5f28a1fb793285925a8cd4b432c9da0a987836c7f822/shellingham-1.5.4-py2.py3-none-any.whl.metadata\n", " Downloading shellingham-1.5.4-py2.py3-none-any.whl.metadata (3.5 kB)\n", "Collecting rich>=13.8.0 (from typer<1.0,>=0.12->gradio)\n", " Obtaining dependency information for rich>=13.8.0 from https://files.pythonhosted.org/packages/82/3b/64d4899d73f91ba49a8c18a8ff3f0ea8f1c1d75481760df8c68ef5235bf5/rich-15.0.0-py3-none-any.whl.metadata\n", " Downloading rich-15.0.0-py3-none-any.whl.metadata (18 kB)\n", "Requirement already satisfied: h11>=0.8 in e:\\anaconda\\lib\\site-packages (from uvicorn>=0.14.0->gradio) (0.14.0)\n", "Requirement already satisfied: charset_normalizer<4,>=2 in e:\\anaconda\\lib\\site-packages (from requests->huggingface_hub) (2.0.4)\n", "Requirement already satisfied: urllib3<3,>=1.21.1 in e:\\anaconda\\lib\\site-packages (from requests->huggingface_hub) (1.26.18)\n", "Requirement already satisfied: six>=1.5 in e:\\anaconda\\lib\\site-packages (from python-dateutil>=2.8.2->pandas<4.0,>=1.0->gradio) (1.17.0)\n", "Requirement already satisfied: markdown-it-py>=2.2.0 in e:\\anaconda\\lib\\site-packages (from rich>=13.8.0->typer<1.0,>=0.12->gradio) (2.2.0)\n", "Requirement already satisfied: pygments<3.0.0,>=2.13.0 in e:\\anaconda\\lib\\site-packages (from rich>=13.8.0->typer<1.0,>=0.12->gradio) (2.15.1)\n", "Requirement already satisfied: mdurl~=0.1 in e:\\anaconda\\lib\\site-packages (from markdown-it-py>=2.2.0->rich>=13.8.0->typer<1.0,>=0.12->gradio) (0.1.0)\n", "Downloading gradio-6.14.0-py3-none-any.whl (19.7 MB)\n", " ---------------------------------------- 0.0/19.7 MB ? eta -:--:--\n", " --- ------------------------------------ 1.8/19.7 MB 110.7 MB/s eta 0:00:01\n", " -------- ------------------------------- 4.3/19.7 MB 54.5 MB/s eta 0:00:01\n", " ---------------- ----------------------- 7.9/19.7 MB 63.3 MB/s eta 0:00:01\n", " ---------------------- ----------------- 10.9/19.7 MB 59.5 MB/s eta 0:00:01\n", " -------------------------- ------------- 12.8/19.7 MB 54.7 MB/s eta 0:00:01\n", " ------------------------------- -------- 15.6/19.7 MB 59.5 MB/s eta 0:00:01\n", " -------------------------------------- - 19.0/19.7 MB 54.4 MB/s eta 0:00:01\n", " ---------------------------------------- 19.7/19.7 MB 50.4 MB/s eta 0:00:00\n", "Downloading gradio_client-2.5.0-py3-none-any.whl (59 kB)\n", " ---------------------------------------- 0.0/60.0 kB ? eta -:--:--\n", " ---------------------------------------- 60.0/60.0 kB ? eta 0:00:00\n", "Downloading brotli-1.2.0-cp311-cp311-win_amd64.whl (369 kB)\n", " ---------------------------------------- 0.0/369.0 kB ? eta -:--:--\n", " ---------------------------------------- 369.0/369.0 kB ? eta 0:00:00\n", "Downloading fastapi-0.136.1-py3-none-any.whl (117 kB)\n", " ---------------------------------------- 0.0/117.7 kB ? eta -:--:--\n", " ---------------------------------------- 117.7/117.7 kB ? eta 0:00:00\n", "Downloading groovy-0.1.2-py3-none-any.whl (14 kB)\n", "Downloading hf_gradio-0.4.1-py3-none-any.whl (4.5 kB)\n", "Downloading orjson-3.11.8-cp311-cp311-win_amd64.whl (127 kB)\n", " ---------------------------------------- 0.0/127.4 kB ? eta -:--:--\n", " ---------------------------------------- 127.4/127.4 kB 7.3 MB/s eta 0:00:00\n", "Downloading pydantic-2.13.3-py3-none-any.whl (471 kB)\n", " ---------------------------------------- 0.0/472.0 kB ? eta -:--:--\n", " --------------------------------------- 472.0/472.0 kB 28.9 MB/s eta 0:00:00\n", "Downloading pydantic_core-2.46.3-cp311-cp311-win_amd64.whl (2.1 MB)\n", " ---------------------------------------- 0.0/2.1 MB ? eta -:--:--\n", " ----------------------------------- ---- 1.9/2.1 MB 59.8 MB/s eta 0:00:01\n", " ---------------------------------------- 2.1/2.1 MB 33.2 MB/s eta 0:00:00\n", "Downloading pydub-0.25.1-py2.py3-none-any.whl (32 kB)\n", "Downloading python_multipart-0.0.27-py3-none-any.whl (29 kB)\n", "Downloading safehttpx-0.1.7-py3-none-any.whl (9.0 kB)\n", "Downloading semantic_version-2.10.0-py2.py3-none-any.whl (15 kB)\n", "Downloading starlette-1.0.0-py3-none-any.whl (72 kB)\n", " ---------------------------------------- 0.0/72.7 kB ? eta -:--:--\n", " ---------------------------------------- 72.7/72.7 kB ? eta 0:00:00\n", "Downloading anyio-4.13.0-py3-none-any.whl (114 kB)\n", " ---------------------------------------- 0.0/114.4 kB ? eta -:--:--\n", " ---------------------------------------- 114.4/114.4 kB ? eta 0:00:00\n", "Downloading tomlkit-0.14.0-py3-none-any.whl (39 kB)\n", "Downloading typer-0.25.1-py3-none-any.whl (58 kB)\n", " ---------------------------------------- 0.0/58.4 kB ? eta -:--:--\n", " ---------------------------------------- 58.4/58.4 kB ? eta 0:00:00\n", "Downloading annotated_doc-0.0.4-py3-none-any.whl (5.3 kB)\n", "Downloading annotated_types-0.7.0-py3-none-any.whl (13 kB)\n", "Downloading click-8.3.3-py3-none-any.whl (110 kB)\n", " ---------------------------------------- 0.0/110.5 kB ? eta -:--:--\n", " ---------------------------------------- 110.5/110.5 kB 6.3 MB/s eta 0:00:00\n", "Downloading rich-15.0.0-py3-none-any.whl (310 kB)\n", " ---------------------------------------- 0.0/310.7 kB ? eta -:--:--\n", " ---------------------------------------- 310.7/310.7 kB ? eta 0:00:00\n", "Downloading shellingham-1.5.4-py2.py3-none-any.whl (9.8 kB)\n", "Downloading typing_inspection-0.4.2-py3-none-any.whl (14 kB)\n", "Installing collected packages: pydub, brotli, typing-inspection, tomlkit, shellingham, semantic-version, python-multipart, pydantic-core, orjson, groovy, click, anyio, annotated-types, annotated-doc, starlette, rich, pydantic, typer, fastapi, safehttpx, gradio-client, hf-gradio, gradio\n", " Attempting uninstall: tomlkit\n", " Found existing installation: tomlkit 0.11.1\n", " Uninstalling tomlkit-0.11.1:\n", " Successfully uninstalled tomlkit-0.11.1\n", " Attempting uninstall: python-multipart\n", " Found existing installation: python-multipart 0.0.6\n", " Uninstalling python-multipart-0.0.6:\n", " Successfully uninstalled python-multipart-0.0.6\n", " Attempting uninstall: click\n", " Found existing installation: click 8.1.7\n", " Uninstalling click-8.1.7:\n", " Successfully uninstalled click-8.1.7\n", " Attempting uninstall: anyio\n", " Found existing installation: anyio 3.5.0\n", " Uninstalling anyio-3.5.0:\n", " Successfully uninstalled anyio-3.5.0\n", " Attempting uninstall: starlette\n", " Found existing installation: starlette 0.27.0\n", " Uninstalling starlette-0.27.0:\n", " Successfully uninstalled starlette-0.27.0\n", " Attempting uninstall: pydantic\n", " Found existing installation: pydantic 1.10.8\n", " Uninstalling pydantic-1.10.8:\n", " Successfully uninstalled pydantic-1.10.8\n", " Attempting uninstall: fastapi\n", " Found existing installation: fastapi 0.100.1\n", " Uninstalling fastapi-0.100.1:\n", " Successfully uninstalled fastapi-0.100.1\n", "Successfully installed annotated-doc-0.0.4 annotated-types-0.7.0 anyio-4.13.0 brotli-1.2.0 click-8.2.1 fastapi-0.136.1 gradio-6.14.0 gradio-client-2.5.0 groovy-0.1.2 hf-gradio-0.4.1 orjson-3.11.8 pydantic-2.13.3 pydantic-core-2.46.3 pydub-0.25.1 python-multipart-0.0.27 rich-15.0.0 safehttpx-0.1.7 semantic-version-2.10.0 shellingham-1.5.4 starlette-1.0.0 tomlkit-0.14.0 typer-0.25.1 typing-inspection-0.4.2\n" ] }, { "name": "stderr", "output_type": "stream", "text": [ "ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.\n", "anaconda-cloud-auth 0.1.3 requires pydantic<2.0, but you have pydantic 2.13.3 which is incompatible.\n", "asyncer 0.0.2 requires anyio<4.0.0,>=3.4.0, but you have anyio 4.13.0 which is incompatible.\n", "chainlit 0.7.604 requires aiofiles<24.0.0,>=23.1.0, but you have aiofiles 22.1.0 which is incompatible.\n", "chainlit 0.7.604 requires fastapi<0.101,>=0.100, but you have fastapi 0.136.1 which is incompatible.\n", "chainlit 0.7.604 requires packaging<24.0,>=23.1, but you have packaging 25.0 which is incompatible.\n", "chainlit 0.7.604 requires python-multipart<0.0.7,>=0.0.6, but you have python-multipart 0.0.27 which is incompatible.\n", "jupyter-server 1.23.4 requires anyio<4,>=3.1.0, but you have anyio 4.13.0 which is incompatible.\n", "langchain 0.0.340 requires anyio<4.0, but you have anyio 4.13.0 which is incompatible.\n", "python-lsp-black 1.2.1 requires black>=22.3.0, but you have black 0.0 which is incompatible.\n" ] }, { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "bd61f0bbd4af49cdbdaf846b3cd9c9a3", "version_major": 2, "version_minor": 0 }, "text/plain": [ "VBox(children=(HTML(value='