Fashchat
1.0.0
欢迎使用FashChat ,一款将 AI 与风格融为一体的时尚前卫工具! FashChat 可帮助您分析服装、探索妆容并深入了解电影或名人亮相中的标志性时尚时刻。无论您想要造型技巧、服装推荐还是了解当前趋势,FashChat 都是您的首选时尚顾问。
要在本地计算机上设置 FashChat,请按照以下步骤操作:
git clone https://github.com/your-username/fashchat.git
cd fashchat
这使得依赖项与项目隔离。
python -m venv fashchat-env
source fashchat-env/bin/activate # On Windows: fashchat-envScriptsactivate
确保已安装pip
,然后运行:
pip install -r requirements.txt
在项目根目录中创建一个.env
文件来存储您的 Google API 密钥:
GOOGLE_API_KEY=your_google_api_key_here
使用以下命令启动 Streamlit 应用程序:
streamlit run fashchat.py
运行上述命令后,打开浏览器并转到:
http://localhost:8501
注意:如果您需要使用不同的端口,请添加--server.port
标志:
streamlit run fashchat.py --server.port 8502
├── fashchat.py # Main application script
├── requirements.txt # List of dependencies
├── .env # Environment variables (keep it secret!)
├── README.md # Project documentation
└── assets # Folder for any additional resources (e.g., logo image)
服装分析仪:
妆容见解:
电影/名人适合度分析:
欢迎贡献!请随意分叉该项目并创建拉取请求以改进 FashChat。
该项目已获得 MIT 许可证的许可。有关详细信息,请参阅LICENSE
。