Spaces:
Running
Running
Commit
·
3ef1838
1
Parent(s):
2f7309a
Upgrade to gradio6
Browse files- README.md +1 -1
- pdm.lock +10 -217
- pyproject.toml +3 -1
- src/hf_eda_mcp/server.py +7 -7
README.md
CHANGED
|
@@ -4,7 +4,7 @@ emoji: 🔍
|
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: purple
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version:
|
| 8 |
app_file: src/app.py
|
| 9 |
pinned: false
|
| 10 |
license: apache-2.0
|
|
|
|
| 4 |
colorFrom: blue
|
| 5 |
colorTo: purple
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 6.0.0
|
| 8 |
app_file: src/app.py
|
| 9 |
pinned: false
|
| 10 |
license: apache-2.0
|
pdm.lock
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
groups = ["default", "hf-cli", "plots"]
|
| 6 |
strategy = ["inherit_metadata"]
|
| 7 |
lock_version = "4.5.0"
|
| 8 |
-
content_hash = "sha256:
|
| 9 |
|
| 10 |
[[metadata.targets]]
|
| 11 |
requires_python = ">=3.13"
|
|
@@ -615,7 +615,7 @@ files = [
|
|
| 615 |
|
| 616 |
[[package]]
|
| 617 |
name = "gradio"
|
| 618 |
-
version = "6.0.0
|
| 619 |
requires_python = ">=3.10"
|
| 620 |
summary = "Python library for easily interacting with trained machine learning models"
|
| 621 |
groups = ["default"]
|
|
@@ -626,7 +626,7 @@ dependencies = [
|
|
| 626 |
"brotli>=1.1.0",
|
| 627 |
"fastapi<1.0,>=0.115.2",
|
| 628 |
"ffmpy",
|
| 629 |
-
"gradio-client==2.0.0-dev.
|
| 630 |
"groovy~=0.1",
|
| 631 |
"httpx<1.0,>=0.24.1",
|
| 632 |
"huggingface-hub<2.0,>=0.33.5",
|
|
@@ -637,11 +637,11 @@ dependencies = [
|
|
| 637 |
"packaging",
|
| 638 |
"pandas<3.0,>=1.0",
|
| 639 |
"pillow<12.0,>=8.0",
|
| 640 |
-
"pydantic
|
| 641 |
"pydub",
|
| 642 |
"python-multipart>=0.0.18",
|
| 643 |
"pyyaml<7.0,>=5.0",
|
| 644 |
-
"safehttpx<0.2.0,>=0.1.
|
| 645 |
"semantic-version~=2.0",
|
| 646 |
"starlette<1.0,>=0.40.0",
|
| 647 |
"tomlkit<0.14.0,>=0.12.0",
|
|
@@ -650,13 +650,13 @@ dependencies = [
|
|
| 650 |
"uvicorn>=0.14.0",
|
| 651 |
]
|
| 652 |
files = [
|
| 653 |
-
{file = "gradio-6.0.0
|
| 654 |
-
{file = "gradio-6.0.0.
|
| 655 |
]
|
| 656 |
|
| 657 |
[[package]]
|
| 658 |
name = "gradio-client"
|
| 659 |
-
version = "2.0.0.
|
| 660 |
requires_python = ">=3.10"
|
| 661 |
summary = "Python library for easily interacting with trained machine learning models"
|
| 662 |
groups = ["default"]
|
|
@@ -668,25 +668,8 @@ dependencies = [
|
|
| 668 |
"typing-extensions~=4.0",
|
| 669 |
]
|
| 670 |
files = [
|
| 671 |
-
{file = "gradio_client-2.0.0.
|
| 672 |
-
{file = "gradio_client-2.0.0.
|
| 673 |
-
]
|
| 674 |
-
|
| 675 |
-
[[package]]
|
| 676 |
-
name = "gradio"
|
| 677 |
-
version = "6.0.0.dev1"
|
| 678 |
-
extras = ["mcp"]
|
| 679 |
-
requires_python = ">=3.10"
|
| 680 |
-
summary = "Python library for easily interacting with trained machine learning models"
|
| 681 |
-
groups = ["default"]
|
| 682 |
-
dependencies = [
|
| 683 |
-
"gradio==6.0.0-dev1",
|
| 684 |
-
"mcp==1.10.1",
|
| 685 |
-
"pydantic>=2.11",
|
| 686 |
-
]
|
| 687 |
-
files = [
|
| 688 |
-
{file = "gradio-6.0.0.dev1-py3-none-any.whl", hash = "sha256:4e5dbd61789a36e4fd4626160849050467c53cee39cccf50b38d8ee0e2e4ee9b"},
|
| 689 |
-
{file = "gradio-6.0.0.dev1.tar.gz", hash = "sha256:2dd3050eb76069bfa89e1efc959b361fc733cb74a10444bca31601bf18b09c38"},
|
| 690 |
]
|
| 691 |
|
| 692 |
[[package]]
|
|
@@ -775,17 +758,6 @@ files = [
|
|
| 775 |
{file = "httpx-0.28.1.tar.gz", hash = "sha256:75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc"},
|
| 776 |
]
|
| 777 |
|
| 778 |
-
[[package]]
|
| 779 |
-
name = "httpx-sse"
|
| 780 |
-
version = "0.4.3"
|
| 781 |
-
requires_python = ">=3.9"
|
| 782 |
-
summary = "Consume Server-Sent Event (SSE) messages with HTTPX."
|
| 783 |
-
groups = ["default"]
|
| 784 |
-
files = [
|
| 785 |
-
{file = "httpx_sse-0.4.3-py3-none-any.whl", hash = "sha256:0ac1c9fe3c0afad2e0ebb25a934a59f4c7823b60792691f779fad2c5568830fc"},
|
| 786 |
-
{file = "httpx_sse-0.4.3.tar.gz", hash = "sha256:9b1ed0127459a66014aec3c56bebd93da3c1bc8bb6618c8082039a44889a755d"},
|
| 787 |
-
]
|
| 788 |
-
|
| 789 |
[[package]]
|
| 790 |
name = "huggingface-hub"
|
| 791 |
version = "1.1.4"
|
|
@@ -849,37 +821,6 @@ files = [
|
|
| 849 |
{file = "jinja2-3.1.6.tar.gz", hash = "sha256:0137fb05990d35f1275a587e9aee6d56da821fc83491a0fb838183be43f66d6d"},
|
| 850 |
]
|
| 851 |
|
| 852 |
-
[[package]]
|
| 853 |
-
name = "jsonschema"
|
| 854 |
-
version = "4.25.1"
|
| 855 |
-
requires_python = ">=3.9"
|
| 856 |
-
summary = "An implementation of JSON Schema validation for Python"
|
| 857 |
-
groups = ["default"]
|
| 858 |
-
dependencies = [
|
| 859 |
-
"attrs>=22.2.0",
|
| 860 |
-
"jsonschema-specifications>=2023.03.6",
|
| 861 |
-
"referencing>=0.28.4",
|
| 862 |
-
"rpds-py>=0.7.1",
|
| 863 |
-
]
|
| 864 |
-
files = [
|
| 865 |
-
{file = "jsonschema-4.25.1-py3-none-any.whl", hash = "sha256:3fba0169e345c7175110351d456342c364814cfcf3b964ba4587f22915230a63"},
|
| 866 |
-
{file = "jsonschema-4.25.1.tar.gz", hash = "sha256:e4a9655ce0da0c0b67a085847e00a3a51449e1157f4f75e9fb5aa545e122eb85"},
|
| 867 |
-
]
|
| 868 |
-
|
| 869 |
-
[[package]]
|
| 870 |
-
name = "jsonschema-specifications"
|
| 871 |
-
version = "2025.9.1"
|
| 872 |
-
requires_python = ">=3.9"
|
| 873 |
-
summary = "The JSON Schema meta-schemas and vocabularies, exposed as a Registry"
|
| 874 |
-
groups = ["default"]
|
| 875 |
-
dependencies = [
|
| 876 |
-
"referencing>=0.31.0",
|
| 877 |
-
]
|
| 878 |
-
files = [
|
| 879 |
-
{file = "jsonschema_specifications-2025.9.1-py3-none-any.whl", hash = "sha256:98802fee3a11ee76ecaca44429fda8a41bff98b00a0f2838151b113f210cc6fe"},
|
| 880 |
-
{file = "jsonschema_specifications-2025.9.1.tar.gz", hash = "sha256:b540987f239e745613c7a9176f3edb72b832a4ac465cf02712288397832b5e8d"},
|
| 881 |
-
]
|
| 882 |
-
|
| 883 |
[[package]]
|
| 884 |
name = "kiwisolver"
|
| 885 |
version = "1.4.9"
|
|
@@ -1058,29 +999,6 @@ files = [
|
|
| 1058 |
{file = "matplotlib-3.10.7.tar.gz", hash = "sha256:a06ba7e2a2ef9131c79c49e63dad355d2d878413a0376c1727c8b9335ff731c7"},
|
| 1059 |
]
|
| 1060 |
|
| 1061 |
-
[[package]]
|
| 1062 |
-
name = "mcp"
|
| 1063 |
-
version = "1.10.1"
|
| 1064 |
-
requires_python = ">=3.10"
|
| 1065 |
-
summary = "Model Context Protocol SDK"
|
| 1066 |
-
groups = ["default"]
|
| 1067 |
-
dependencies = [
|
| 1068 |
-
"anyio>=4.5",
|
| 1069 |
-
"httpx-sse>=0.4",
|
| 1070 |
-
"httpx>=0.27",
|
| 1071 |
-
"jsonschema>=4.20.0",
|
| 1072 |
-
"pydantic-settings>=2.5.2",
|
| 1073 |
-
"pydantic<3.0.0,>=2.7.2",
|
| 1074 |
-
"python-multipart>=0.0.9",
|
| 1075 |
-
"sse-starlette>=1.6.1",
|
| 1076 |
-
"starlette>=0.27",
|
| 1077 |
-
"uvicorn>=0.23.1; sys_platform != \"emscripten\"",
|
| 1078 |
-
]
|
| 1079 |
-
files = [
|
| 1080 |
-
{file = "mcp-1.10.1-py3-none-any.whl", hash = "sha256:4d08301aefe906dce0fa482289db55ce1db831e3e67212e65b5e23ad8454b3c5"},
|
| 1081 |
-
{file = "mcp-1.10.1.tar.gz", hash = "sha256:aaa0957d8307feeff180da2d9d359f2b801f35c0c67f1882136239055ef034c2"},
|
| 1082 |
-
]
|
| 1083 |
-
|
| 1084 |
[[package]]
|
| 1085 |
name = "mdurl"
|
| 1086 |
version = "0.1.2"
|
|
@@ -1553,22 +1471,6 @@ files = [
|
|
| 1553 |
{file = "pydantic_core-2.33.2.tar.gz", hash = "sha256:7cb8bc3605c29176e1b105350d2e6474142d7c1bd1d9327c4a9bdb46bf827acc"},
|
| 1554 |
]
|
| 1555 |
|
| 1556 |
-
[[package]]
|
| 1557 |
-
name = "pydantic-settings"
|
| 1558 |
-
version = "2.11.0"
|
| 1559 |
-
requires_python = ">=3.9"
|
| 1560 |
-
summary = "Settings management using Pydantic"
|
| 1561 |
-
groups = ["default"]
|
| 1562 |
-
dependencies = [
|
| 1563 |
-
"pydantic>=2.7.0",
|
| 1564 |
-
"python-dotenv>=0.21.0",
|
| 1565 |
-
"typing-inspection>=0.4.0",
|
| 1566 |
-
]
|
| 1567 |
-
files = [
|
| 1568 |
-
{file = "pydantic_settings-2.11.0-py3-none-any.whl", hash = "sha256:fe2cea3413b9530d10f3a5875adffb17ada5c1e1bab0b2885546d7310415207c"},
|
| 1569 |
-
{file = "pydantic_settings-2.11.0.tar.gz", hash = "sha256:d0e87a1c7d33593beb7194adb8470fc426e95ba02af83a0f23474a04c9a08180"},
|
| 1570 |
-
]
|
| 1571 |
-
|
| 1572 |
[[package]]
|
| 1573 |
name = "pydub"
|
| 1574 |
version = "0.25.1"
|
|
@@ -1615,17 +1517,6 @@ files = [
|
|
| 1615 |
{file = "python_dateutil-2.9.0.post0-py2.py3-none-any.whl", hash = "sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427"},
|
| 1616 |
]
|
| 1617 |
|
| 1618 |
-
[[package]]
|
| 1619 |
-
name = "python-dotenv"
|
| 1620 |
-
version = "1.2.1"
|
| 1621 |
-
requires_python = ">=3.9"
|
| 1622 |
-
summary = "Read key-value pairs from a .env file and set them as environment variables"
|
| 1623 |
-
groups = ["default"]
|
| 1624 |
-
files = [
|
| 1625 |
-
{file = "python_dotenv-1.2.1-py3-none-any.whl", hash = "sha256:b81ee9561e9ca4004139c6cbba3a238c32b03e4894671e181b671e8cb8425d61"},
|
| 1626 |
-
{file = "python_dotenv-1.2.1.tar.gz", hash = "sha256:42667e897e16ab0d66954af0e60a9caa94f0fd4ecf3aaf6d2d260eec1aa36ad6"},
|
| 1627 |
-
]
|
| 1628 |
-
|
| 1629 |
[[package]]
|
| 1630 |
name = "python-multipart"
|
| 1631 |
version = "0.0.20"
|
|
@@ -1685,22 +1576,6 @@ files = [
|
|
| 1685 |
{file = "pyyaml-6.0.3.tar.gz", hash = "sha256:d76623373421df22fb4cf8817020cbb7ef15c725b9d5e45f17e189bfc384190f"},
|
| 1686 |
]
|
| 1687 |
|
| 1688 |
-
[[package]]
|
| 1689 |
-
name = "referencing"
|
| 1690 |
-
version = "0.37.0"
|
| 1691 |
-
requires_python = ">=3.10"
|
| 1692 |
-
summary = "JSON Referencing + Python"
|
| 1693 |
-
groups = ["default"]
|
| 1694 |
-
dependencies = [
|
| 1695 |
-
"attrs>=22.2.0",
|
| 1696 |
-
"rpds-py>=0.7.0",
|
| 1697 |
-
"typing-extensions>=4.4.0; python_version < \"3.13\"",
|
| 1698 |
-
]
|
| 1699 |
-
files = [
|
| 1700 |
-
{file = "referencing-0.37.0-py3-none-any.whl", hash = "sha256:381329a9f99628c9069361716891d34ad94af76e461dcb0335825aecc7692231"},
|
| 1701 |
-
{file = "referencing-0.37.0.tar.gz", hash = "sha256:44aefc3142c5b842538163acb373e24cce6632bd54bdb01b21ad5863489f50d8"},
|
| 1702 |
-
]
|
| 1703 |
-
|
| 1704 |
[[package]]
|
| 1705 |
name = "requests"
|
| 1706 |
version = "2.32.5"
|
|
@@ -1733,74 +1608,6 @@ files = [
|
|
| 1733 |
{file = "rich-14.2.0.tar.gz", hash = "sha256:73ff50c7c0c1c77c8243079283f4edb376f0f6442433aecb8ce7e6d0b92d1fe4"},
|
| 1734 |
]
|
| 1735 |
|
| 1736 |
-
[[package]]
|
| 1737 |
-
name = "rpds-py"
|
| 1738 |
-
version = "0.28.0"
|
| 1739 |
-
requires_python = ">=3.10"
|
| 1740 |
-
summary = "Python bindings to Rust's persistent data structures (rpds)"
|
| 1741 |
-
groups = ["default"]
|
| 1742 |
-
files = [
|
| 1743 |
-
{file = "rpds_py-0.28.0-cp313-cp313-macosx_10_12_x86_64.whl", hash = "sha256:e9e184408a0297086f880556b6168fa927d677716f83d3472ea333b42171ee3b"},
|
| 1744 |
-
{file = "rpds_py-0.28.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:edd267266a9b0448f33dc465a97cfc5d467594b600fe28e7fa2f36450e03053a"},
|
| 1745 |
-
{file = "rpds_py-0.28.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:85beb8b3f45e4e32f6802fb6cd6b17f615ef6c6a52f265371fb916fae02814aa"},
|
| 1746 |
-
{file = "rpds_py-0.28.0-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:d2412be8d00a1b895f8ad827cc2116455196e20ed994bb704bf138fe91a42724"},
|
| 1747 |
-
{file = "rpds_py-0.28.0-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:cf128350d384b777da0e68796afdcebc2e9f63f0e9f242217754e647f6d32491"},
|
| 1748 |
-
{file = "rpds_py-0.28.0-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a2036d09b363aa36695d1cc1a97b36865597f4478470b0697b5ee9403f4fe399"},
|
| 1749 |
-
{file = "rpds_py-0.28.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b8e1e9be4fa6305a16be628959188e4fd5cd6f1b0e724d63c6d8b2a8adf74ea6"},
|
| 1750 |
-
{file = "rpds_py-0.28.0-cp313-cp313-manylinux_2_31_riscv64.whl", hash = "sha256:0a403460c9dd91a7f23fc3188de6d8977f1d9603a351d5db6cf20aaea95b538d"},
|
| 1751 |
-
{file = "rpds_py-0.28.0-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:d7366b6553cdc805abcc512b849a519167db8f5e5c3472010cd1228b224265cb"},
|
| 1752 |
-
{file = "rpds_py-0.28.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:5b43c6a3726efd50f18d8120ec0551241c38785b68952d240c45ea553912ac41"},
|
| 1753 |
-
{file = "rpds_py-0.28.0-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:0cb7203c7bc69d7c1585ebb33a2e6074492d2fc21ad28a7b9d40457ac2a51ab7"},
|
| 1754 |
-
{file = "rpds_py-0.28.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:7a52a5169c664dfb495882adc75c304ae1d50df552fbd68e100fdc719dee4ff9"},
|
| 1755 |
-
{file = "rpds_py-0.28.0-cp313-cp313-win32.whl", hash = "sha256:2e42456917b6687215b3e606ab46aa6bca040c77af7df9a08a6dcfe8a4d10ca5"},
|
| 1756 |
-
{file = "rpds_py-0.28.0-cp313-cp313-win_amd64.whl", hash = "sha256:e0a0311caedc8069d68fc2bf4c9019b58a2d5ce3cd7cb656c845f1615b577e1e"},
|
| 1757 |
-
{file = "rpds_py-0.28.0-cp313-cp313-win_arm64.whl", hash = "sha256:04c1b207ab8b581108801528d59ad80aa83bb170b35b0ddffb29c20e411acdc1"},
|
| 1758 |
-
{file = "rpds_py-0.28.0-cp313-cp313t-macosx_10_12_x86_64.whl", hash = "sha256:f296ea3054e11fc58ad42e850e8b75c62d9a93a9f981ad04b2e5ae7d2186ff9c"},
|
| 1759 |
-
{file = "rpds_py-0.28.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:5a7306c19b19005ad98468fcefeb7100b19c79fc23a5f24a12e06d91181193fa"},
|
| 1760 |
-
{file = "rpds_py-0.28.0-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e5d9b86aa501fed9862a443c5c3116f6ead8bc9296185f369277c42542bd646b"},
|
| 1761 |
-
{file = "rpds_py-0.28.0-cp313-cp313t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:e5bbc701eff140ba0e872691d573b3d5d30059ea26e5785acba9132d10c8c31d"},
|
| 1762 |
-
{file = "rpds_py-0.28.0-cp313-cp313t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:9a5690671cd672a45aa8616d7374fdf334a1b9c04a0cac3c854b1136e92374fe"},
|
| 1763 |
-
{file = "rpds_py-0.28.0-cp313-cp313t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:9f1d92ecea4fa12f978a367c32a5375a1982834649cdb96539dcdc12e609ab1a"},
|
| 1764 |
-
{file = "rpds_py-0.28.0-cp313-cp313t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8d252db6b1a78d0a3928b6190156042d54c93660ce4d98290d7b16b5296fb7cc"},
|
| 1765 |
-
{file = "rpds_py-0.28.0-cp313-cp313t-manylinux_2_31_riscv64.whl", hash = "sha256:d61b355c3275acb825f8777d6c4505f42b5007e357af500939d4a35b19177259"},
|
| 1766 |
-
{file = "rpds_py-0.28.0-cp313-cp313t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:acbe5e8b1026c0c580d0321c8aae4b0a1e1676861d48d6e8c6586625055b606a"},
|
| 1767 |
-
{file = "rpds_py-0.28.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:8aa23b6f0fc59b85b4c7d89ba2965af274346f738e8d9fc2455763602e62fd5f"},
|
| 1768 |
-
{file = "rpds_py-0.28.0-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:7b14b0c680286958817c22d76fcbca4800ddacef6f678f3a7c79a1fe7067fe37"},
|
| 1769 |
-
{file = "rpds_py-0.28.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:bcf1d210dfee61a6c86551d67ee1031899c0fdbae88b2d44a569995d43797712"},
|
| 1770 |
-
{file = "rpds_py-0.28.0-cp313-cp313t-win32.whl", hash = "sha256:3aa4dc0fdab4a7029ac63959a3ccf4ed605fee048ba67ce89ca3168da34a1342"},
|
| 1771 |
-
{file = "rpds_py-0.28.0-cp313-cp313t-win_amd64.whl", hash = "sha256:7b7d9d83c942855e4fdcfa75d4f96f6b9e272d42fffcb72cd4bb2577db2e2907"},
|
| 1772 |
-
{file = "rpds_py-0.28.0-cp314-cp314-macosx_10_12_x86_64.whl", hash = "sha256:dcdcb890b3ada98a03f9f2bb108489cdc7580176cb73b4f2d789e9a1dac1d472"},
|
| 1773 |
-
{file = "rpds_py-0.28.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:f274f56a926ba2dc02976ca5b11c32855cbd5925534e57cfe1fda64e04d1add2"},
|
| 1774 |
-
{file = "rpds_py-0.28.0-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4fe0438ac4a29a520ea94c8c7f1754cdd8feb1bc490dfda1bfd990072363d527"},
|
| 1775 |
-
{file = "rpds_py-0.28.0-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:8a358a32dd3ae50e933347889b6af9a1bdf207ba5d1a3f34e1a38cd3540e6733"},
|
| 1776 |
-
{file = "rpds_py-0.28.0-cp314-cp314-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e80848a71c78aa328fefaba9c244d588a342c8e03bda518447b624ea64d1ff56"},
|
| 1777 |
-
{file = "rpds_py-0.28.0-cp314-cp314-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f586db2e209d54fe177e58e0bc4946bea5fb0102f150b1b2f13de03e1f0976f8"},
|
| 1778 |
-
{file = "rpds_py-0.28.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5ae8ee156d6b586e4292491e885d41483136ab994e719a13458055bec14cf370"},
|
| 1779 |
-
{file = "rpds_py-0.28.0-cp314-cp314-manylinux_2_31_riscv64.whl", hash = "sha256:a805e9b3973f7e27f7cab63a6b4f61d90f2e5557cff73b6e97cd5b8540276d3d"},
|
| 1780 |
-
{file = "rpds_py-0.28.0-cp314-cp314-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:5d3fd16b6dc89c73a4da0b4ac8b12a7ecc75b2864b95c9e5afed8003cb50a728"},
|
| 1781 |
-
{file = "rpds_py-0.28.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:6796079e5d24fdaba6d49bda28e2c47347e89834678f2bc2c1b4fc1489c0fb01"},
|
| 1782 |
-
{file = "rpds_py-0.28.0-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:76500820c2af232435cbe215e3324c75b950a027134e044423f59f5b9a1ba515"},
|
| 1783 |
-
{file = "rpds_py-0.28.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:bbdc5640900a7dbf9dd707fe6388972f5bbd883633eb68b76591044cfe346f7e"},
|
| 1784 |
-
{file = "rpds_py-0.28.0-cp314-cp314-win32.whl", hash = "sha256:adc8aa88486857d2b35d75f0640b949759f79dc105f50aa2c27816b2e0dd749f"},
|
| 1785 |
-
{file = "rpds_py-0.28.0-cp314-cp314-win_amd64.whl", hash = "sha256:66e6fa8e075b58946e76a78e69e1a124a21d9a48a5b4766d15ba5b06869d1fa1"},
|
| 1786 |
-
{file = "rpds_py-0.28.0-cp314-cp314-win_arm64.whl", hash = "sha256:a6fe887c2c5c59413353b7c0caff25d0e566623501ccfff88957fa438a69377d"},
|
| 1787 |
-
{file = "rpds_py-0.28.0-cp314-cp314t-macosx_10_12_x86_64.whl", hash = "sha256:7a69df082db13c7070f7b8b1f155fa9e687f1d6aefb7b0e3f7231653b79a067b"},
|
| 1788 |
-
{file = "rpds_py-0.28.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:b1cde22f2c30ebb049a9e74c5374994157b9b70a16147d332f89c99c5960737a"},
|
| 1789 |
-
{file = "rpds_py-0.28.0-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5338742f6ba7a51012ea470bd4dc600a8c713c0c72adaa0977a1b1f4327d6592"},
|
| 1790 |
-
{file = "rpds_py-0.28.0-cp314-cp314t-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:e1460ebde1bcf6d496d80b191d854adedcc619f84ff17dc1c6d550f58c9efbba"},
|
| 1791 |
-
{file = "rpds_py-0.28.0-cp314-cp314t-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:e3eb248f2feba84c692579257a043a7699e28a77d86c77b032c1d9fbb3f0219c"},
|
| 1792 |
-
{file = "rpds_py-0.28.0-cp314-cp314t-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:bd3bbba5def70b16cd1c1d7255666aad3b290fbf8d0fe7f9f91abafb73611a91"},
|
| 1793 |
-
{file = "rpds_py-0.28.0-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3114f4db69ac5a1f32e7e4d1cbbe7c8f9cf8217f78e6e002cedf2d54c2a548ed"},
|
| 1794 |
-
{file = "rpds_py-0.28.0-cp314-cp314t-manylinux_2_31_riscv64.whl", hash = "sha256:4b0cb8a906b1a0196b863d460c0222fb8ad0f34041568da5620f9799b83ccf0b"},
|
| 1795 |
-
{file = "rpds_py-0.28.0-cp314-cp314t-manylinux_2_5_i686.manylinux1_i686.whl", hash = "sha256:cf681ac76a60b667106141e11a92a3330890257e6f559ca995fbb5265160b56e"},
|
| 1796 |
-
{file = "rpds_py-0.28.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:1e8ee6413cfc677ce8898d9cde18cc3a60fc2ba756b0dec5b71eb6eb21c49fa1"},
|
| 1797 |
-
{file = "rpds_py-0.28.0-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:b3072b16904d0b5572a15eb9d31c1954e0d3227a585fc1351aa9878729099d6c"},
|
| 1798 |
-
{file = "rpds_py-0.28.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:b670c30fd87a6aec281c3c9896d3bae4b205fd75d79d06dc87c2503717e46092"},
|
| 1799 |
-
{file = "rpds_py-0.28.0-cp314-cp314t-win32.whl", hash = "sha256:8014045a15b4d2b3476f0a287fcc93d4f823472d7d1308d47884ecac9e612be3"},
|
| 1800 |
-
{file = "rpds_py-0.28.0-cp314-cp314t-win_amd64.whl", hash = "sha256:7a4e59c90d9c27c561eb3160323634a9ff50b04e4f7820600a2beb0ac90db578"},
|
| 1801 |
-
{file = "rpds_py-0.28.0.tar.gz", hash = "sha256:abd4df20485a0983e2ca334a216249b6186d6e3c1627e106651943dbdb791aea"},
|
| 1802 |
-
]
|
| 1803 |
-
|
| 1804 |
[[package]]
|
| 1805 |
name = "safehttpx"
|
| 1806 |
version = "0.1.7"
|
|
@@ -1875,20 +1682,6 @@ files = [
|
|
| 1875 |
{file = "sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc"},
|
| 1876 |
]
|
| 1877 |
|
| 1878 |
-
[[package]]
|
| 1879 |
-
name = "sse-starlette"
|
| 1880 |
-
version = "3.0.2"
|
| 1881 |
-
requires_python = ">=3.9"
|
| 1882 |
-
summary = "SSE plugin for Starlette"
|
| 1883 |
-
groups = ["default"]
|
| 1884 |
-
dependencies = [
|
| 1885 |
-
"anyio>=4.7.0",
|
| 1886 |
-
]
|
| 1887 |
-
files = [
|
| 1888 |
-
{file = "sse_starlette-3.0.2-py3-none-any.whl", hash = "sha256:16b7cbfddbcd4eaca11f7b586f3b8a080f1afe952c15813455b162edea619e5a"},
|
| 1889 |
-
{file = "sse_starlette-3.0.2.tar.gz", hash = "sha256:ccd60b5765ebb3584d0de2d7a6e4f745672581de4f5005ab31c3a25d10b52b3a"},
|
| 1890 |
-
]
|
| 1891 |
-
|
| 1892 |
[[package]]
|
| 1893 |
name = "starlette"
|
| 1894 |
version = "0.48.0"
|
|
|
|
| 5 |
groups = ["default", "hf-cli", "plots"]
|
| 6 |
strategy = ["inherit_metadata"]
|
| 7 |
lock_version = "4.5.0"
|
| 8 |
+
content_hash = "sha256:4742028e3a2ecbfce41b8229882183b577923af0d34e1e32cf3e8b37314ed204"
|
| 9 |
|
| 10 |
[[metadata.targets]]
|
| 11 |
requires_python = ">=3.13"
|
|
|
|
| 615 |
|
| 616 |
[[package]]
|
| 617 |
name = "gradio"
|
| 618 |
+
version = "6.0.0"
|
| 619 |
requires_python = ">=3.10"
|
| 620 |
summary = "Python library for easily interacting with trained machine learning models"
|
| 621 |
groups = ["default"]
|
|
|
|
| 626 |
"brotli>=1.1.0",
|
| 627 |
"fastapi<1.0,>=0.115.2",
|
| 628 |
"ffmpy",
|
| 629 |
+
"gradio-client==2.0.0-dev.3",
|
| 630 |
"groovy~=0.1",
|
| 631 |
"httpx<1.0,>=0.24.1",
|
| 632 |
"huggingface-hub<2.0,>=0.33.5",
|
|
|
|
| 637 |
"packaging",
|
| 638 |
"pandas<3.0,>=1.0",
|
| 639 |
"pillow<12.0,>=8.0",
|
| 640 |
+
"pydantic<=2.12.4,>=2.11.10",
|
| 641 |
"pydub",
|
| 642 |
"python-multipart>=0.0.18",
|
| 643 |
"pyyaml<7.0,>=5.0",
|
| 644 |
+
"safehttpx<0.2.0,>=0.1.7",
|
| 645 |
"semantic-version~=2.0",
|
| 646 |
"starlette<1.0,>=0.40.0",
|
| 647 |
"tomlkit<0.14.0,>=0.12.0",
|
|
|
|
| 650 |
"uvicorn>=0.14.0",
|
| 651 |
]
|
| 652 |
files = [
|
| 653 |
+
{file = "gradio-6.0.0-py3-none-any.whl", hash = "sha256:9790b871f827845378503fcf7b3bf9c9db03ba2a590a295516da4e6a63ea4a73"},
|
| 654 |
+
{file = "gradio-6.0.0.tar.gz", hash = "sha256:1f2217a7939dc1d8863431edc0026e0e07a54ead65c0402b3f71bba33f0d9515"},
|
| 655 |
]
|
| 656 |
|
| 657 |
[[package]]
|
| 658 |
name = "gradio-client"
|
| 659 |
+
version = "2.0.0.dev3"
|
| 660 |
requires_python = ">=3.10"
|
| 661 |
summary = "Python library for easily interacting with trained machine learning models"
|
| 662 |
groups = ["default"]
|
|
|
|
| 668 |
"typing-extensions~=4.0",
|
| 669 |
]
|
| 670 |
files = [
|
| 671 |
+
{file = "gradio_client-2.0.0.dev3-py3-none-any.whl", hash = "sha256:5d0055e831908e60323016b299bc8d4cd8dd0a75c99833e98301d1c171c00260"},
|
| 672 |
+
{file = "gradio_client-2.0.0.dev3.tar.gz", hash = "sha256:452efe90b4e245477c94bb09e5777f1712a406794a5cfbfb9b392e451bb337ad"},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 673 |
]
|
| 674 |
|
| 675 |
[[package]]
|
|
|
|
| 758 |
{file = "httpx-0.28.1.tar.gz", hash = "sha256:75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc"},
|
| 759 |
]
|
| 760 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 761 |
[[package]]
|
| 762 |
name = "huggingface-hub"
|
| 763 |
version = "1.1.4"
|
|
|
|
| 821 |
{file = "jinja2-3.1.6.tar.gz", hash = "sha256:0137fb05990d35f1275a587e9aee6d56da821fc83491a0fb838183be43f66d6d"},
|
| 822 |
]
|
| 823 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 824 |
[[package]]
|
| 825 |
name = "kiwisolver"
|
| 826 |
version = "1.4.9"
|
|
|
|
| 999 |
{file = "matplotlib-3.10.7.tar.gz", hash = "sha256:a06ba7e2a2ef9131c79c49e63dad355d2d878413a0376c1727c8b9335ff731c7"},
|
| 1000 |
]
|
| 1001 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1002 |
[[package]]
|
| 1003 |
name = "mdurl"
|
| 1004 |
version = "0.1.2"
|
|
|
|
| 1471 |
{file = "pydantic_core-2.33.2.tar.gz", hash = "sha256:7cb8bc3605c29176e1b105350d2e6474142d7c1bd1d9327c4a9bdb46bf827acc"},
|
| 1472 |
]
|
| 1473 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1474 |
[[package]]
|
| 1475 |
name = "pydub"
|
| 1476 |
version = "0.25.1"
|
|
|
|
| 1517 |
{file = "python_dateutil-2.9.0.post0-py2.py3-none-any.whl", hash = "sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427"},
|
| 1518 |
]
|
| 1519 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1520 |
[[package]]
|
| 1521 |
name = "python-multipart"
|
| 1522 |
version = "0.0.20"
|
|
|
|
| 1576 |
{file = "pyyaml-6.0.3.tar.gz", hash = "sha256:d76623373421df22fb4cf8817020cbb7ef15c725b9d5e45f17e189bfc384190f"},
|
| 1577 |
]
|
| 1578 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1579 |
[[package]]
|
| 1580 |
name = "requests"
|
| 1581 |
version = "2.32.5"
|
|
|
|
| 1608 |
{file = "rich-14.2.0.tar.gz", hash = "sha256:73ff50c7c0c1c77c8243079283f4edb376f0f6442433aecb8ce7e6d0b92d1fe4"},
|
| 1609 |
]
|
| 1610 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1611 |
[[package]]
|
| 1612 |
name = "safehttpx"
|
| 1613 |
version = "0.1.7"
|
|
|
|
| 1682 |
{file = "sniffio-1.3.1.tar.gz", hash = "sha256:f4324edc670a0f49750a81b895f35c3adb843cca46f0530f79fc1babb23789dc"},
|
| 1683 |
]
|
| 1684 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1685 |
[[package]]
|
| 1686 |
name = "starlette"
|
| 1687 |
version = "0.48.0"
|
pyproject.toml
CHANGED
|
@@ -6,7 +6,7 @@ authors = [
|
|
| 6 |
{name = "Khalil Guetari", email = "khalil.guetari@momentslab.com"},
|
| 7 |
]
|
| 8 |
dependencies = [
|
| 9 |
-
"gradio
|
| 10 |
"datasets>=4.3.0",
|
| 11 |
"huggingface_hub>=0.20.0",
|
| 12 |
"pydantic>=2.0.0",
|
|
@@ -40,6 +40,8 @@ where = ["src"]
|
|
| 40 |
[tool.pdm.scripts]
|
| 41 |
hf-eda-mcp = {cmd="python -m hf_eda_mcp", env_file= ".env"}
|
| 42 |
hf_client_playground = "python -m scripts.playground.hf_client_playground"
|
|
|
|
|
|
|
| 43 |
|
| 44 |
[tool.pdm]
|
| 45 |
distribution = true
|
|
|
|
| 6 |
{name = "Khalil Guetari", email = "khalil.guetari@momentslab.com"},
|
| 7 |
]
|
| 8 |
dependencies = [
|
| 9 |
+
"gradio==6.0.0",
|
| 10 |
"datasets>=4.3.0",
|
| 11 |
"huggingface_hub>=0.20.0",
|
| 12 |
"pydantic>=2.0.0",
|
|
|
|
| 40 |
[tool.pdm.scripts]
|
| 41 |
hf-eda-mcp = {cmd="python -m hf_eda_mcp", env_file= ".env"}
|
| 42 |
hf_client_playground = "python -m scripts.playground.hf_client_playground"
|
| 43 |
+
metadata_playground = "python -m scripts.playground.metadata_playground"
|
| 44 |
+
test_merged_metadata = "python -m scripts.playground.test_merged_metadata"
|
| 45 |
|
| 46 |
[tool.pdm]
|
| 47 |
distribution = true
|
src/hf_eda_mcp/server.py
CHANGED
|
@@ -27,12 +27,6 @@ def create_gradio_app(config: ServerConfig) -> gr.Blocks:
|
|
| 27 |
# Create main app with MCP tool interfaces
|
| 28 |
with gr.Blocks(
|
| 29 |
title="HF EDA MCP Server",
|
| 30 |
-
theme=gr.themes.Soft(),
|
| 31 |
-
css="""
|
| 32 |
-
.gradio-container {
|
| 33 |
-
max-width: 1200px !important;
|
| 34 |
-
}
|
| 35 |
-
""",
|
| 36 |
) as app:
|
| 37 |
gr.Markdown(
|
| 38 |
"""
|
|
@@ -273,7 +267,13 @@ def launch_server(
|
|
| 273 |
"share": config.share,
|
| 274 |
"show_error": True,
|
| 275 |
"quiet": False,
|
| 276 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 277 |
"max_threads": config.max_concurrent_requests,
|
| 278 |
}
|
| 279 |
|
|
|
|
| 27 |
# Create main app with MCP tool interfaces
|
| 28 |
with gr.Blocks(
|
| 29 |
title="HF EDA MCP Server",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
) as app:
|
| 31 |
gr.Markdown(
|
| 32 |
"""
|
|
|
|
| 267 |
"share": config.share,
|
| 268 |
"show_error": True,
|
| 269 |
"quiet": False,
|
| 270 |
+
"footer_links": ["api", "gradio", "settings"],
|
| 271 |
+
"theme": gr.themes.Soft(),
|
| 272 |
+
"css": """
|
| 273 |
+
.gradio-container {
|
| 274 |
+
max-width: 1200px !important;
|
| 275 |
+
}
|
| 276 |
+
""",
|
| 277 |
"max_threads": config.max_concurrent_requests,
|
| 278 |
}
|
| 279 |
|