ishitatyagi14 commited on
Commit
f662480
·
verified ·
1 Parent(s): c870fa1

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -0
app.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ from PIL import Image, ImageDraw, ImageFont
2
+
3
+ # Define the text for each image
4
+ texts = ["AI Suggestion 1", "AI Suggestion 2", "AI Suggestion 3"]
5
+
6
+ # Create and save images
7
+ for i, text in enumerate(texts):
8
+ # Create an image with white background
9
+ img = Image.new('RGB', (300, 100), color='white')
10
+ d = ImageDraw.Draw(img)