Skip to content

kkkk-cyber/generate_text

Repository files navigation

generate_text

Project Introduction

This project implements a multi-attribute controlled text generation system that can generate personalized text based on the user's identity information such as occupation, hobbies, etc., combined with specific themes and emotions. At the same time, the system can also generate pictures that match the text content to provide more intuitive expression.

Project Function

  1. Generate attribute-controlled text: According to the attribute information such as occupation and interests provided by the user, combined with the theme and emotion, automatically generate personalized text that meets the requirements.

  2. Generate matching pictures: According to the generated text content, automatically generate matching pictures to provide visual support for the text.

  3. User interaction system: Provides a friendly user interface that allows users to easily enter personal information, select themes and emotions, and quickly obtain customized text and pictures.

Installation environment

The required dependencies are listed in the requirements.txt file. You can install all dependencies using the following command:

pip install -r requirements.txt

How to use

  1. Run the run.py file to start the system interface:

    python run.py
    
  2. According to the prompts, enter the required personal information (such as occupation, interests, etc.) and select the theme and emotion.

  3. Wait for the system to generate the corresponding text and matching pictures.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •