Skip to content

A template-based product description generator. Template is created using ChatGPT.

Notifications You must be signed in to change notification settings

HamidRezaAttar/product_description_generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Product Description Generator ��

A template-based product description generator. Template is created using ChatGPT


How to use

How to generate result

name = "Black Essentials T-Shirt"
price = 28.95
brand = "DR3AMIN"
color = "Black"
size = "Small"
material = "Cotton"
design = "Graphic"
condition = "New"
rating = 4.5
discount = 10
from descr import Descr

module = Descr()

result = module.gen_description(name, price, brand,
                                color, size, material,
                                design, condition, rating,
                                discount)
print(result)
>>> """Introducing the Black Essentials T-Shirt from DR3AMIN, available in Black and made of Cotton. This product is available in size Small and features a Graphic design. It is in New condition and has received a rating of 4.5 stars. Priced at only $28.95, it's a steal for such a high-quality product.
And now with 10% off, it's only $26.055!
It's the perfect gift for anyone who loves fashion."""

About

A template-based product description generator. Template is created using ChatGPT.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages