alessiodevoto commited on
Commit
9cbaaef
1 Parent(s): 2cdbb7d
Files changed (3) hide show
  1. app.py +3 -3
  2. newsletter_examples/1.html +3 -2
  3. requirements.txt +1 -3
app.py CHANGED
@@ -123,9 +123,9 @@ def main():
123
  #value="04a183a27a6877e560e1025216d0a3b40d88668c68366da17edfb18ed89c574c",
124
  interactive=True,
125
  choices=[
126
- ("customer 1", "04a183a27a6877e560e1025216d0a3b40d88668c68366da17edfb18ed89c574c"),
127
- ("customer 2", "1abaca5cd299000720538c70ba2ed246db6731bce924b5b4ca81770a47842656"),
128
- ("customer 3", "1741b0d1b2c29994084b7312001c1b11ab8b112b3fd05ac765f4d232afdc4eaf")
129
  ]
130
  )
131
 
 
123
  #value="04a183a27a6877e560e1025216d0a3b40d88668c68366da17edfb18ed89c574c",
124
  interactive=True,
125
  choices=[
126
+ ("User Story 1", "04a183a27a6877e560e1025216d0a3b40d88668c68366da17edfb18ed89c574c"),
127
+ ("User Story 2", "1abaca5cd299000720538c70ba2ed246db6731bce924b5b4ca81770a47842656"),
128
+ ("User Story 3", "1741b0d1b2c29994084b7312001c1b11ab8b112b3fd05ac765f4d232afdc4eaf")
129
  ]
130
  )
131
 
newsletter_examples/1.html CHANGED
@@ -145,8 +145,9 @@ ${greeting} </p>
145
 
146
  <!-- Previously Bought Items nlsection -->
147
  <div class="nlsection">
148
- <h2 style="color:black;"> Your recent selections </h2>
149
  <p style="font-size: 18px; font-family: 'Georgia', 'Times New Roman', serif; font-style: italic; color: #333; line-height: 1.5; letter-spacing: 0.5px; text-align: left;"> ${intro} </p>
 
150
  <div class="nlsection-row">
151
  <div class="bought-item">
152
  <img src= ${transaction_url} alt="Previous Product 1">
@@ -198,7 +199,7 @@ ${closing} </p>
198
 
199
  <!-- Call to Action -->
200
  <div class="nlsection" style="text-align: center;">
201
- <h2>Ready to Refine Your Wardrobe?</h2>
202
  <a href="#" class="nlbutton">View New Arrivals</a>
203
  <a href="#" class="nlbutton" style="background-color: #5D4037;">Book Styling Consultation</a>
204
  </div>
 
145
 
146
  <!-- Previously Bought Items nlsection -->
147
  <div class="nlsection">
148
+
149
  <p style="font-size: 18px; font-family: 'Georgia', 'Times New Roman', serif; font-style: italic; color: #333; line-height: 1.5; letter-spacing: 0.5px; text-align: left;"> ${intro} </p>
150
+ <h2 style="color:black;"> Your recent selections </h2>
151
  <div class="nlsection-row">
152
  <div class="bought-item">
153
  <img src= ${transaction_url} alt="Previous Product 1">
 
199
 
200
  <!-- Call to Action -->
201
  <div class="nlsection" style="text-align: center;">
202
+ <h2 style="color:black;">Ready to Refine Your Wardrobe?</h2>
203
  <a href="#" class="nlbutton">View New Arrivals</a>
204
  <a href="#" class="nlbutton" style="background-color: #5D4037;">Book Styling Consultation</a>
205
  </div>
requirements.txt CHANGED
@@ -1,3 +1 @@
1
- gradio==5.4.0
2
- gradio_client==1.4.2
3
- openai==1.52.2
 
1
+ openai