Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ from PIL import Image, ImageDraw, ImageFont
|
|
3 |
|
4 |
def generate_certificate(name):
|
5 |
# Load certificate template (you can replace this with your own image)
|
6 |
-
certificate = Image.open("
|
7 |
draw = ImageDraw.Draw(certificate)
|
8 |
|
9 |
# Use a nice script font (Luxurious Script or similar)
|
|
|
3 |
|
4 |
def generate_certificate(name):
|
5 |
# Load certificate template (you can replace this with your own image)
|
6 |
+
certificate = Image.open("certificate_winners.png")
|
7 |
draw = ImageDraw.Draw(certificate)
|
8 |
|
9 |
# Use a nice script font (Luxurious Script or similar)
|