Spaces:
Runtime error
Runtime error
Fix long title
Browse files
app.py
CHANGED
|
@@ -100,7 +100,7 @@ class TextGeneration:
|
|
| 100 |
ws, hs = 120, 500
|
| 101 |
im_editable.text(
|
| 102 |
(ws, hs),
|
| 103 |
-
recipe["title"],
|
| 104 |
(61, 61, 70),
|
| 105 |
font=self.h1_font,
|
| 106 |
)
|
|
|
|
| 100 |
ws, hs = 120, 500
|
| 101 |
im_editable.text(
|
| 102 |
(ws, hs),
|
| 103 |
+
textwrap.fill(recipe["title"], 50),
|
| 104 |
(61, 61, 70),
|
| 105 |
font=self.h1_font,
|
| 106 |
)
|