mmeb/start_test.sh
2025-09-01 11:24:01 +00:00

33 lines
792 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
# 启动多模态检索系统测试
echo "🚀 启动多模态检索系统测试"
echo "================================"
# 设置Python路径
export PYTHONPATH=/root/mmeb:$PYTHONPATH
# 1. 安装依赖包
echo "📦 步骤1: 安装依赖包"
pip install pymochow pymongo --quiet
# 2. 运行快速测试
echo "🔍 步骤2: 运行快速测试"
python quick_test.py
# 3. 测试百度VDB连接
echo "🔗 步骤3: 测试百度VDB连接"
python test_baidu_vdb_connection.py
# 4. 启动Web应用可选
echo "🌐 步骤4: 是否启动Web应用(y/n)"
read -p "输入选择: " choice
if [ "$choice" = "y" ] || [ "$choice" = "Y" ]; then
echo "启动Web应用..."
python web_app_vdb_production.py
else
echo "跳过Web应用启动"
fi
echo "✅ 测试完成!"