Repository: open-compass/opencompass
Issue: [Bug] ImportError: cannot import name 'handle_file' from 'gradio_client' (/opt/conda/lib/python3.10/site-packages/gradio_client/__init__.py)
Root cause: External Dependency Breakage

### Prerequisite

- [x] I have searched [Issues](https://github.com/open-compass/opencompass/issues/) and [Discussions](https://github.com/open-compass/opencompass/discussions) but cannot get the expected help.
- [x] The bug has not been fixed in the [latest version](https://github.com/open-compass/opencompass).

### Type

I'm evaluating with the officially supported tasks/models/datasets.

### Environment

(base) root@jupyter-deployment-253-1230-777f976cf4-vzq7j:/# opencompass
INFO 04-25 10:25:08 [__init__.py:239] Automatically detected platform cuda.
Traceback (most recent call last):
  File "/opt/conda/bin/opencompass", line 5, in <module>
    from opencompass.cli.main import main
  File "/opt/conda/lib/python3.10/site-packages/opencompass/cli/main.py", line 17, in <module>
    from opencompass.utils.run import (fill_eval_cfg, fill_infer_cfg,
  File "/opt/conda/lib/python3.10/site-packages/opencompass/utils/run.py", line 9, in <module>
    from opencompass.datasets.custom import make_custom_dataset_config
  File "/opt/conda/lib/python3.10/site-packages/opencompass/datasets/__init__.py", line 14, in <module>
    from .bigcodebench import *  # noqa: F401, F403
  File "/opt/conda/lib/python3.10/site-packages/opencompass/datasets/bigcodebench/__init__.py", line 1, in <module>
    from .bigcodebench import BigCodeBenchDataset, BigCodeBenchEvaluator  # noqa
  File "/opt/conda/lib/python3.10/site-packages/opencompass/datasets/bigcodebench/bigcodebench.py", line 10, in <module>
    from gradio_client import Client, handle_file
ImportError: cannot import name 'handle_file' from 'gradio_client' (/opt/conda/lib/python3.10/site-packages/gradio_client/__init__.py)

### Reproduces the problem - code/configuration sample

安装之后，直接运行opencompass
(base) root@jupyter-deployment-253-1230-777f976cf4-vzq7j:/# opencompass
INFO 04-25 10:25:08 [__init__.py:239] Automatically detected platform cuda.
Traceback (most recent call last):
  File "/opt/conda/bin/opencompass", line 5, in <module>
    from opencompass.cli.main import main
  File "/opt/conda/lib/python3.10/site-packages/opencompass/cli/main.py", line 17, in <module>
    from opencompass.utils.run import (fill_eval_cfg, fill_infer_cfg,
  File "/opt/conda/lib/python3.10/site-packages/opencompass/utils/run.py", line 9, in <module>
    from opencompass.datasets.custom import make_custom_dataset_config
  File "/opt/conda/lib/python3.10/site-packages/opencompass/datasets/__init__.py", line 14, in <module>
    from .bigcodebench import *  # noqa: F401, F403
  File "/opt/conda/lib/python3.10/site-packages/opencompass/datasets/bigcodebench/__init__.py", line 1, in <module>
    from .bigcodebench import BigCodeBenchDataset, BigCodeBenchEvaluator  # noqa
  File "/opt/conda/lib/python3.10/site-packages/opencompass/datasets/bigcodebench/bigcodebench.py", line 10, in <module>
    from gradio_client import Client, handle_file
ImportError: cannot import name 'handle_file' from 'gradio_client' (/opt/conda/lib/python3.10/site-packages/gradio_client/__init__.py)

### Reproduces the problem - command or script

安装之后，直接运行opencompass
(base) root@jupyter-deployment-253-1230-777f976cf4-vzq7j:/# opencompass
INFO 04-25 10:25:08 [__init__.py:239] Automatically detected platform cuda.
Traceback (most recent call last):
  File "/opt/conda/bin/opencompass", line 5, in <module>
    from opencompass.cli.main import main
  File "/opt/conda/lib/python3.10/site-packages/opencompass/cli/main.py", line 17, in <module>
    from opencompass.utils.run import (fill_eval_cfg, fill_infer_cfg,
  File "/opt/conda/lib/python3.10/site-packages/opencompass/utils/run.py", line 9, in <module>
    from opencompass.datasets.custom import make_custom_dataset_config
  File "/opt/conda/lib/python3.10/site-packages/opencompass/datasets/__init__.py", line 14, in <module>
    from .bigcodebench import *  # noqa: F401, F403
  File "/opt/conda/lib/python3.10/site-packages/opencompass/datasets/bigcodebench/__init__.py", line 1, in <module>
    from .bigcodebench import BigCodeBenchDataset, BigCodeBenchEvaluator  # noqa
  File "/opt/conda/lib/python3.10/site-packages/opencompass/datasets/bigcodebench/bigcodebench.py", line 10, in <module>
    from gradio_client import Client, handle_file
ImportError: cannot import name 'handle_file' from 'gradio_client' (/opt/conda/lib/python3.10/site-packages/gradio_client/__init__.py)

### Reproduces the problem - error message

安装之后，直接运行opencompass
(base) root@jupyter-deployment-253-1230-777f976cf4-vzq7j:/# opencompass
INFO 04-25 10:25:08 [__init__.py:239] Automatically detected platform cuda.
Traceback (most recent call last):
  File "/opt/conda/bin/opencompass", line 5, in <module>
    from opencompass.cli.main import main
  File "/opt/conda/lib/python3.10/site-packages/opencompass/cli/main.py", line 17, in <module>
    from opencompass.utils.run import (fill_eval_cfg, fill_infer_cfg,
  File "/opt/conda/lib/python3.10/site-packages/opencompass/utils/run.py", line 9, in <module>
    from opencompass.datasets.custom import make_custom_dataset_config
  File "/opt/conda/lib/python3.10/site-packages/opencompass/datasets/__init__.py", line 14, in <module>
    from .bigcodebench import *  # noqa: F401, F403
  File "/opt/conda/lib/python3.10/site-packages/opencompass/datasets/bigcodebench/__init__.py", line 1, in <module>
    from .bigcodebench import BigCodeBenchDataset, BigCodeBenchEvaluator  # noqa
  File "/opt/conda/lib/python3.10/site-packages/opencompass/datasets/bigcodebench/bigcodebench.py", line 10, in <module>
    from gradio_client import Client, handle_file
ImportError: cannot import name 'handle_file' from 'gradio_client' (/opt/conda/lib/python3.10/site-packages/gradio_client/__init__.py)

### Other information

_No response_

The version of my gradio_client is 1.9.0, you can give it a try.