Skip to content

24371360/intellectual

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CogenPVG

This repository is the official implementation of the paper "CogenPVG: Cognitive-Enhanced Reflective Multi-Agent Framework for Persuasive Video Generation".

Usage

  1. Clone this repository.
git clone git@github.com:OneCoin123/CogenPVG.git
  1. Create the virtual environment and install the dependencies.

using uv

uv sync --python 3.12
  1. Set the necessary API keys in config/.env, for example,
VOLCENGINE_API_KEY=your_volcengine_api_key
TAVILY_API_KEY=your_tavily_api_key
DASHSCOPE_API_KEY=your_dashscope_api_key
SUNO_API_KEY=your_suno_api_key
...
  1. Generate the persuasive video for a given topic and stance
uv run generate_sv.py --exp_dir output/run1 --topic "Log out after using websites" --stance "opposing"
  1. Or generate the both stance sides of persuasive videos for a given topic set
uv run run_batch.py --exo_dir output/batch1 --topic_json_path config/topics.json

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages