今天在阿里云服务器上部署了下DB-GPT
先引入依赖
yum -y install git
yum install git-lfs
yum install g++
yum install docker
再拉项目代码
git clone https://github.com/csunny/DB-GPT.git
然后
Last login: Sun Aug 13 16:21:29 2023 from 47.96.60.217
[root@iZbp1ics75hlcsisqyvxaeZ ~]# cd
[root@iZbp1ics75hlcsisqyvxaeZ ~]# ls
auto_install DB-GPT NVIDIA_CUDA-11.4_Samples
[root@iZbp1ics75hlcsisqyvxaeZ ~]# cd DB-GPT
[root@iZbp1ics75hlcsisqyvxaeZ DB-GPT]# LS
-bash: LS: command not found
[root@iZbp1ics75hlcsisqyvxaeZ DB-GPT]# ls
assets docker Dockerfile examples MANIFEST.in plugins README.zh.md SECURITY.md tests
CONTRIBUTING.md docker-compose.yml docs LICENSE pilot README.md requirements.txt setup.py tools
[root@iZbp1ics75hlcsisqyvxaeZ DB-GPT]# mkdir models
遇到报错
mkdir命令找不到,那么就重启
[root@iZbp1ics75hlcsisqyvxaeZ DB-GPT]# ls
assets docker-compose.yml examples models README.md SECURITY.md tools
CONTRIBUTING.md Dockerfile LICENSE pilot README.zh.md setup.py
docker docs MANIFEST.in plugins requirements.txt tests
[root@iZbp1ics75hlcsisqyvxaeZ DB-GPT]# cd models
[root@iZbp1ics75hlcsisqyvxaeZ models]# ls
[root@iZbp1ics75hlcsisqyvxaeZ models]# git clone https://huggingface.co/Tribbiani/vicuna-13b
Cloning into 'vicuna-13b'...
fatal: unable to access 'https://huggingface.co/Tribbiani/vicuna-13b/': OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to huggingface.co:443
发现原来是自己以前用过代理,这里取消代理就可以了
[root@iZbp1ics75hlcsisqyvxaeZ models]# git config --global --unset http.proxy
[root@iZbp1ics75hlcsisqyvxaeZ models]# git config --global --unset https.proxy
本地部署一下数据库
[root@iZbp1ics75hlcsisqyvxaeZ ~]# docker run --name=mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=aa12345678 -dit mysql:latest Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg. ? Please select an image: ▸ registry.access.redhat.com/mysql:latest registry.redhat.io/mysql:latest docker.io/library/mysql:latest
[root@iZbp1ics75hlcsisqyvxaeZ ~]# docker run --name=mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=aa12345678 -dit mysql:latest Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg. ✔ registry.access.redhat.com/mysql:latest Trying to pull registry.access.redhat.com/mysql:latest... Error: initializing source docker://registry.access.redhat.com/mysql:latest: reading manifest latest in registry.access.redhat.com/mysql: name unknown: Repo not found
cat /etc/passwd|awk -F ':' '{print $3,$4}'|sort
[root@iZbp1ics75hlcsisqyvxaeZ ~]# cat /etc/group|awk -F ':' '{print $3}'|sort
cat /etc/subuid [root@iZbp1ics75hlcsisqyvxaeZ ~]# cat /etc/subgid [root@iZbp1ics75hlcsisqyvxaeZ ~]# echo root:70000:80000 >> /etc/subuid [root@iZbp1ics75hlcsisqyvxaeZ ~]# echo root:70000:80000 >> /etc/subgid [root@iZbp1ics75hlcsisqyvxaeZ ~]# podman system migrate [root@iZbp1ics75hlcsisqyvxaeZ ~]# podman info
[root@iZbp1ics75hlcsisqyvxaeZ ~]# docker run --name=mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=aa12345678 -dit mysql:latest Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg. ✔ registry.access.redhat.com/mysql:latest Trying to pull registry.access.redhat.com/mysql:latest... Error: initializing source docker://registry.access.redhat.com/mysql:latest: reading manifest latest in registry.access.redhat.com/mysql: name unknown: Repo not found [root@iZbp1ics75hlcsisqyvxaeZ ~]# docker run --name=mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=aa12345678 -dit mysql:latest Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg. ✔ registry.redhat.io/mysql:latest Trying to pull registry.redhat.io/mysql:latest... Error: initializing source docker://registry.redhat.io/mysql:latest: unable to retrieve auth token: invalid username/password: unauthorized: Please login to the Red Hat Registry using your Customer Portal credentials. Further instructions can be found here: https://access.redhat.com/RegistryAuthentication [root@iZbp1ics75hlcsisqyvxaeZ ~]# docker run --name=mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=aa12345678 -dit mysql:latest Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg. ✔ docker.io/library/mysql:latest Trying to pull docker.io/library/mysql:latest... Getting image source signatures Copying blob b193354265ba done Copying blob 9a89a1d664ee done Copying blob 02da291ad1e4 done Copying blob b85424247193 done Copying blob 14a15c0bb358 done Copying blob a24ae6513051 done Copying blob 9a240a3b3d51 done Copying blob 8bf57120f71f done Copying blob c64090e82a0b done Copying blob af7c7515d542 done Copying config 99afc808f1 done Writing manifest to image destination Storing signatures b81c8014a115f837610e75e5098ffe941db6e5cf0ee53f794e6c6d20e3113ac2
[root@iZbp1ics75hlcsisqyvxaeZ ~]# docker run --name=mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=aa12345678 -dit mysql:latest
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
✔ registry.access.redhat.com/mysql:latest
Trying to pull registry.access.redhat.com/mysql:latest...
Error: initializing source docker://registry.access.redhat.com/mysql:latest: reading manifest latest in registry.access.redhat.com/mysql: name unknown: Repo not found
[root@iZbp1ics75hlcsisqyvxaeZ ~]# docker run --name=mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=aa12345678 -dit mysql:latest
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
✔ registry.redhat.io/mysql:latest
Trying to pull registry.redhat.io/mysql:latest...
Error: initializing source docker://registry.redhat.io/mysql:latest: unable to retrieve auth token: invalid username/password: unauthorized: Please login to the Red Hat Registry using your Customer Portal credentials. Further instructions can be found here: https://access.redhat.com/RegistryAuthentication
[root@iZbp1ics75hlcsisqyvxaeZ ~]# docker run --name=mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=aa12345678 -dit mysql:latest
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
✔ docker.io/library/mysql:latest
Trying to pull docker.io/library/mysql:latest...
Getting image source signatures
Copying blob b193354265ba done
Copying blob 9a89a1d664ee done
Copying blob 02da291ad1e4 done
python 环境我们要起是大于3.9,这里我们用3.10来进行安装。
首先我们需要安装conda环境,我们使用miniconda3
wget https://repo.anaconda.com/miniconda/Miniconda3-py310_23.3.1-0-Linux-x86_64.sh
sh Miniconda3-py310_23.3.1-0-Linux-x86_64.sh
如上,我们就安装conda环境完成了,安装完成之后,需要生效一下环境变量。
source /root/.bashrc
conda create -n dbgpt_env python=3.10
conda activate dbgpt_env
运行一下服务端,成功,sucess!
(dbgpt_env) [root@iZbp1ics75hlcsisqyvxaeZ DB-GPT]# python pilot/server/llmserver.py
playsound is relying on another python subprocess. Please use `pip install pygobject` if you want playsound to run more efficiently.
/root/DB-GPT/pilot/embedding_engine/loader/ppt_loader.py:22: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if hasattr(shape, "text") and shape.text is not "":
Loading vicuna-13b LLM ModelServer in cuda! Please Wait......
model_params:
ModelParams(device='cuda', model_name='vicuna-13b', model_path='/root/DB-GPT/models/vicuna-13b', model_type='huggingface', num_gpus=None, max_gpu_memory=None, cpu_offloading=False, load_8bit=True, load_4bit=False, quant_type='nf4', use_double_quant=True, compute_dtype=None, debug=False, trust_remote_code=True)
max_memory: {0: '26GiB'}
You are using the legacy behaviour of the . This means that tokens that come after special tokens will not be properly handled. We recommend you to read the related pull request available at https://github.com/huggingface/transformers/pull/24565
Loading checkpoint shards: 100%|█████████████████████████████████████████████████████████████████| 3/3 [00:11<00:00, 3.94s/it]
Get model path: /root/DB-GPT/models/vicuna-13b adapter
INFO: Started server process [13150]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:8000 (Press CTRL+C to quit)
运行一下客户端,发现报错,还未解决。。。
(dbgpt_env) [root@iZbp1ics75hlcsisqyvxaeZ DB-GPT]# python pilot/server/webserver.py
playsound is relying on another python subprocess. Please use `pip install pygobject` if you want playsound to run more efficiently.
2023-08-13 18:33:57 | ERROR | stderr | /root/DB-GPT/pilot/server/knowledge/space_db.py:12: MovedIn20Warning: Deprecated API features detected! These feature(s) are not compatible with SQLAlchemy 2.0. To prevent incompatible upgrades prior to updating applications, ensure requirements files are pinned to "sqlalchemy<2.0". Set environment variable SQLALCHEMY_WARN_20=1 to show all deprecation warnings. Set environment variable SQLALCHEMY_SILENCE_UBER_WARNING=1 to silence this message. (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9)
2023-08-13 18:33:57 | ERROR | stderr | Base = declarative_base()
2023-08-13 18:33:57 | INFO | stdout | Add file db, db_name: sqlite_default_sqlite, db_type: sqlite, db_path: data/default_sqlite.db
2023-08-13 18:33:57 | INFO | stdout | add db connect info error2!Constraint Error: Duplicate key "db_name: sqlite_default_sqlite" violates unique constraint. If this is an unexpected constraint violation please double check with the known index limitations section in our documentation (docs - sql - indexes).
2023-08-13 18:33:57 | INFO | stdout | /root/DB-GPT/pilot
2023-08-13 18:33:57 | ERROR | stderr | Exception in thread Thread-2 (init_db_summary):
2023-08-13 18:33:57 | ERROR | stderr | Traceback (most recent call last):
2023-08-13 18:33:57 | ERROR | stderr | File "/root/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3371, in _wrap_pool_connect
2023-08-13 18:33:57 | ERROR | stderr | return fn()
2023-08-13 18:33:57 | ERROR | stderr | File "/root/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 327, in connect
2023-08-13 18:33:57 | ERROR | stderr | return _ConnectionFairy._checkout(self)
2023-08-13 18:33:57 | ERROR | stderr | File "/root/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 894, in _checkout
2023-08-13 18:33:57 | ERROR | stderr | fairy = _ConnectionRecord.checkout(pool)
2023-08-13 18:33:57 | ERROR | stderr | File "/root/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 493, in checkout
2023-08-13 18:33:57 | ERROR | stderr | rec = pool._do_get()
2023-08-13 18:33:57 | ERROR | stderr | File "/root/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 256, in _do_get
2023-08-13 18:33:57 | ERROR | stderr | return self._create_connection()
2023-08-13 18:33:57 | ERROR | stderr | File "/root/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 273, in _create_connection
2023-08-13 18:33:57 | ERROR | stderr | return _ConnectionRecord(self)
2023-08-13 18:33:57 | ERROR | stderr | File "/root/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 388, in __init__
2023-08-13 18:33:57 | ERROR | stderr | self.__connect()
2023-08-13 18:33:57 | ERROR | stderr | File "/root/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 690, in __connect
2023-08-13 18:33:57 | ERROR | stderr | with util.safe_reraise():
2023-08-13 18:33:57 | ERROR | stderr | File "/root/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
2023-08-13 18:33:57 | ERROR | stderr | compat.raise_(
2023-08-13 18:33:57 | ERROR | stderr | File "/root/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/util/compat.py", line 211, in raise_
2023-08-13 18:33:57 | ERROR | stderr | raise exception
2023-08-13 18:33:57 | ERROR | stderr | File "/root/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 686, in __connect
2023-08-13 18:33:57 | ERROR | stderr | self.dbapi_connection = connection = pool._invoke_creator(self)
2023-08-13 18:33:57 | ERROR | stderr | File "/root/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/engine/create.py", line 574, in connect
2023-08-13 18:33:57 | ERROR | stderr | return dialect.connect(*cargs, **cparams)
2023-08-13 18:33:57 | ERROR | stderr | File "/root/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 598, in connect
2023-08-13 18:33:57 | ERROR | stderr | return self.dbapi.connect(*cargs, **cparams)
2023-08-13 18:33:57 | ERROR | stderr | sqlite3.OperationalError: unable to open database file
2023-08-13 18:33:57 | ERROR | stderr |
2023-08-13 18:33:57 | ERROR | stderr | The above exception was the direct cause of the following exception:
2023-08-13 18:33:57 | ERROR | stderr |
2023-08-13 18:33:57 | ERROR | stderr | Traceback (most recent call last):
2023-08-13 18:33:57 | ERROR | stderr | File "/root/miniconda3/envs/dbgpt_env/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
2023-08-13 18:33:57 | ERROR | stderr | self.run()
2023-08-13 18:33:57 | ERROR | stderr | File "/root/miniconda3/envs/dbgpt_env/lib/python3.10/threading.py", line 953, in run
2023-08-13 18:33:57 | ERROR | stderr | self._target(*self._args, **self._kwargs)
2023-08-13 18:33:57 | ERROR | stderr | File "/root/DB-GPT/pilot/summary/db_summary_client.py", line 138, in init_db_summary
2023-08-13 18:33:57 | ERROR | stderr | self.db_summary_embedding(item["db_name"], item["db_type"])
2023-08-13 18:33:57 | ERROR | stderr | File "/root/DB-GPT/pilot/summary/db_summary_client.py", line 31, in db_summary_embedding
2023-08-13 18:33:57 | ERROR | stderr | db_summary_client = RdbmsSummary(dbname, db_type)
2023-08-13 18:33:57 | ERROR | stderr | File "/root/DB-GPT/pilot/summary/rdbms_db_summary.py", line 21, in __init__
2023-08-13 18:33:57 | ERROR | stderr | self.db = CFG.LOCAL_DB_MANAGE.get_connect(name)
2023-08-13 18:33:57 | ERROR | stderr | File "/root/DB-GPT/pilot/connections/manages/connection_manager.py", line 122, in get_connect
2023-08-13 18:33:57 | ERROR | stderr | return connect_instance.from_file_path(db_path)
2023-08-13 18:33:57 | ERROR | stderr | File "/root/DB-GPT/pilot/connections/rdbms/conn_sqlite.py", line 27, in from_file_path
2023-08-13 18:33:57 | ERROR | stderr | return cls(create_engine("sqlite:///" + file_path, **_engine_args), **kwargs)
2023-08-13 18:33:57 | ERROR | stderr | File "/root/DB-GPT/pilot/connections/rdbms/base.py", line 61, in __init__
2023-08-13 18:33:57 | ERROR | stderr | self._inspector = inspect(engine)
2023-08-13 18:33:57 | ERROR | stderr | File "/root/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/inspection.py", line 64, in inspect
2023-08-13 18:33:57 | ERROR | stderr | ret = reg(subject)
2023-08-13 18:33:57 | ERROR | stderr | File "/root/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/engine/reflection.py", line 182, in _engine_insp
2023-08-13 18:33:57 | ERROR | stderr | return Inspector._construct(Inspector._init_engine, bind)
2023-08-13 18:33:57 | ERROR | stderr | File "/root/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/engine/reflection.py", line 117, in _construct
2023-08-13 18:33:57 | ERROR | stderr | init(self, bind)
2023-08-13 18:33:57 | ERROR | stderr | File "/root/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/engine/reflection.py", line 128, in _init_engine
2023-08-13 18:33:57 | ERROR | stderr | engine.connect().close()
2023-08-13 18:33:57 | ERROR | stderr | File "/root/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3325, in connect
2023-08-13 18:33:57 | ERROR | stderr | return self._connection_cls(self, close_with_result=close_with_result)
2023-08-13 18:33:57 | ERROR | stderr | File "/root/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 96, in __init__
2023-08-13 18:33:57 | ERROR | stderr | else engine.raw_connection()
2023-08-13 18:33:57 | ERROR | stderr | File "/root/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3404, in raw_connection
2023-08-13 18:33:57 | ERROR | stderr | return self._wrap_pool_connect(self.pool.connect, _connection)
2023-08-13 18:33:57 | ERROR | stderr | File "/root/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3374, in _wrap_pool_connect
2023-08-13 18:33:57 | ERROR | stderr | Connection._handle_dbapi_exception_noconnection(
2023-08-13 18:33:57 | ERROR | stderr | File "/root/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 2208, in _handle_dbapi_exception_noconnection
2023-08-13 18:33:57 | ERROR | stderr | util.raise_(
2023-08-13 18:33:57 | ERROR | stderr | File "/root/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/util/compat.py", line 211, in raise_
2023-08-13 18:33:57 | ERROR | stderr | raise exception
2023-08-13 18:33:57 | ERROR | stderr | File "/root/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/engine/base.py", line 3371, in _wrap_pool_connect
2023-08-13 18:33:57 | ERROR | stderr | return fn()
2023-08-13 18:33:57 | ERROR | stderr | File "/root/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 327, in connect
2023-08-13 18:33:57 | ERROR | stderr | return _ConnectionFairy._checkout(self)
2023-08-13 18:33:57 | ERROR | stderr | File "/root/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 894, in _checkout
2023-08-13 18:33:57 | ERROR | stderr | fairy = _ConnectionRecord.checkout(pool)
2023-08-13 18:33:57 | ERROR | stderr | File "/root/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 493, in checkout
2023-08-13 18:33:57 | ERROR | stderr | rec = pool._do_get()
2023-08-13 18:33:57 | ERROR | stderr | File "/root/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/pool/impl.py", line 256, in _do_get
2023-08-13 18:33:57 | ERROR | stderr | return self._create_connection()
2023-08-13 18:33:57 | ERROR | stderr | File "/root/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 273, in _create_connection
2023-08-13 18:33:57 | ERROR | stderr | return _ConnectionRecord(self)
2023-08-13 18:33:57 | ERROR | stderr | File "/root/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 388, in __init__
2023-08-13 18:33:57 | ERROR | stderr | self.__connect()
2023-08-13 18:33:57 | ERROR | stderr | File "/root/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 690, in __connect
2023-08-13 18:33:57 | ERROR | stderr | with util.safe_reraise():
2023-08-13 18:33:57 | ERROR | stderr | File "/root/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/util/langhelpers.py", line 70, in __exit__
2023-08-13 18:33:57 | ERROR | stderr | compat.raise_(
2023-08-13 18:33:57 | ERROR | stderr | File "/root/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/util/compat.py", line 211, in raise_
2023-08-13 18:33:57 | ERROR | stderr | raise exception
2023-08-13 18:33:57 | ERROR | stderr | File "/root/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/pool/base.py", line 686, in __connect
2023-08-13 18:33:57 | ERROR | stderr | self.dbapi_connection = connection = pool._invoke_creator(self)
2023-08-13 18:33:57 | ERROR | stderr | File "/root/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/engine/create.py", line 574, in connect
2023-08-13 18:33:57 | ERROR | stderr | return dialect.connect(*cargs, **cparams)
2023-08-13 18:33:57 | ERROR | stderr | File "/root/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/sqlalchemy/engine/default.py", line 598, in connect
2023-08-13 18:33:57 | ERROR | stderr | return self.dbapi.connect(*cargs, **cparams)
2023-08-13 18:33:57 | ERROR | stderr | sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) unable to open database file
2023-08-13 18:33:57 | ERROR | stderr | (Background on this error at: https://sqlalche.me/e/14/e3q8)
2023-08-13 18:33:58 | ERROR | stderr | /root/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/gradio/deprecation.py:43: UserWarning: You have unused kwarg parameters in File, please remove them: {'allow_flagged_uploads': True}
2023-08-13 18:33:58 | ERROR | stderr | warnings.warn(
2023-08-13 18:33:58 | ERROR | stderr | /root/miniconda3/envs/dbgpt_env/lib/python3.10/site-packages/gradio/deprecation.py:43: UserWarning: You have unused kwarg parameters in File, please remove them: {'accept_multiple_files': True}
2023-08-13 18:33:58 | ERROR | stderr | warnings.warn(
2023-08-13 18:33:58 | INFO | stdout | tab_plugin in...
2023-08-13 18:33:58 | INFO | stdout | Running on local URL: http://0.0.0.0:7860
2023-08-13 18:33:58 | INFO | stdout |
2023-08-13 18:33:58 | INFO | stdout | To create a public link, set `share=True` in `launch()`.