An easy-to-use virtual avatar platform driven by Large Language Models.
Official code for the paper:
SAPIEN: Affective Virtual Agents Powered by Large Language Models
Masum Hasan, Cengiz Ozel, Sammy Potter, Ehsan Hoque (ACIIW 2023)
Works on any OS
git clone [email protected]:Masum06/SAPIEN.git
cd SAPIEN
pip install -r requirements.txt
- Download the folder: https://rochester.app.box.com/v/SAPIEN-public/folder/233051989858
- Place the folders
static
andspeaking
under:start_app/static/videos/Metahumans
- In
keys.py
add your own API keys for Microsoft Speech SDK, OpenAI, and Google auth.
cd start_app
python app.py
The main
branch contains prerendered
version that runs on a single computer. For real-time rendering using Unreal Engine 5.2 on a GPU, please visit real-time-render
branch.
- Masum Hasan
- Cengiz Ozel
- Sammy Potter
- Kate Giugno
- Erman Ural
- Richard Chuong
Developed at Roc-HCI lab, University of Rochester Supervised by, Prof. Ehsan Hoque
If you use this work, please cite the following paper,
@misc{hasan2023sapien,
title={SAPIEN: Affective Virtual Agents Powered by Large Language Models},
author={Masum Hasan and Cengiz Ozel and Sammy Potter and Ehsan Hoque},
year={2023},
eprint={2308.03022},
archivePrefix={arXiv},
primaryClass={cs.HC}
}
MIT License
Copyright (c) 2023 University of Rochester
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
SAPIEN:tm: is a trademark owned by SAPIEN Coach LLC. which is being soft licensed to the University of Rochester. Using the name outside this project is prohibited.