Spaces:
Runtime error
Runtime error
ricklon commited on
Commit ·
4717b82
1
Parent(s): 909adc2
fix function logo_file)info
Browse files
app.py
CHANGED
|
@@ -6,7 +6,7 @@ def create_postcard(name, tagline, description, events, location, hours, contact
|
|
| 6 |
dwg = Drawing(size=("200mm", "100mm"))
|
| 7 |
|
| 8 |
# Assume the logo is a PIL Image; convert to base64 to embed in SVG
|
| 9 |
-
if
|
| 10 |
import base64
|
| 11 |
from io import BytesIO
|
| 12 |
buffer = BytesIO()
|
|
|
|
| 6 |
dwg = Drawing(size=("200mm", "100mm"))
|
| 7 |
|
| 8 |
# Assume the logo is a PIL Image; convert to base64 to embed in SVG
|
| 9 |
+
if logo_file_info is not None:
|
| 10 |
import base64
|
| 11 |
from io import BytesIO
|
| 12 |
buffer = BytesIO()
|