1Prompt1Story Installation Guide
The following is the standard installation procedure:
- Cloning repositories:
git clone https://github.com/byliutao/1Prompt1Story - Go to the catalog:
cd 1Prompt1Story - Create a virtual environment:
conda create --name 1p1s python=3.10 - Activate the environment:
conda activate 1p1s - Installation dependencies: provide complete installation commands for PyTorch, transformers, etc.
Usage Process
- Run the main program:
python main.py - Start the Gradio demo:
python app.py - Perform benchmarking:
python -m resource.gen_benchmark...
Operating Instructions
How to use the main functions:
- Enter a single cue to generate a consistent image
- Multi-Role Generation with Multi-Role Descriptions in Prompts
- Add ControlNet to describe the bootstrap generation process
- Enter your personalized needs to get a customized image
This answer comes from the articleOne-Prompt-One-Story: Text Prompts Generate Character Identity Consistent ImagesThe































