#!/bin/bash
# 启动Streamlit前端服务

# 检查依赖是否安装
if ! python -c "import streamlit" 2>/dev/null; then
    echo "正在安装依赖..."
    pip install -r requirements.txt
fi

# 启动Streamlit
streamlit run article_rewriter.py --server.port 8501

