tunght commited on
Commit
57bc3a4
1 Parent(s): ec3e0f1

Change default structure and copy text

Browse files
Files changed (1) hide show
  1. app.py +9 -3
app.py CHANGED
@@ -30,11 +30,13 @@ from str2escaped import str2escaped
30
 
31
  feature_text = """Brand: Puma.
32
  Product name: Puma duffel bag.
33
- Key features: light weight, only 1kg"""
34
 
35
  garment_type = "all"
36
 
37
- reference_text = """NULLUS STUDIOS
 
 
38
  Black Camellia Lapel Brooch Coat
39
  Brushed wool-blend melton coat.
40
 
@@ -51,7 +53,11 @@ Brushed wool-blend melton coat.
51
  路 Full cupro satin lining
52
  路 Logo-engraved antiqued silver-tone hardware"""
53
 
54
- structure_text = ""
 
 
 
 
55
 
56
  structure_text_0 = \
57
  """# Headline {{ headline | inspiring, bold, action-oriented, max 8 words }}
 
30
 
31
  feature_text = """Brand: Puma.
32
  Product name: Puma duffel bag.
33
+ Key features: light weight, only 1kg, black"""
34
 
35
  garment_type = "all"
36
 
37
+ reference_text = """Baukasten-Anzughose Melwin, mint meliert"""
38
+
39
+ reference_text_0 = """NULLUS STUDIOS
40
  Black Camellia Lapel Brooch Coat
41
  Brushed wool-blend melton coat.
42
 
 
53
  路 Full cupro satin lining
54
  路 Logo-engraved antiqued silver-tone hardware"""
55
 
56
+ structure_text = """[language = German]
57
+ {{ product_title | factual, short, one line of text, starting with 1 word defining the Style followed by the Product Name, then the Color separated by a comma }}
58
+ {% if the product fabric has a pattern - use the Images to determine the pattern in a single word after the Color %}
59
+ {% if the Style has no value - use the Images to determine the style of the product %}
60
+ """
61
 
62
  structure_text_0 = \
63
  """# Headline {{ headline | inspiring, bold, action-oriented, max 8 words }}