Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -54,13 +54,16 @@ def format_cocktail_output(name, quote, ingredients, instruction, notes):
|
|
54 |
"""Formats the cocktail recipe into HTML for display."""
|
55 |
html_output = f'''
|
56 |
<div style="text-align: center; font-family: 'Verdana', sans-serif; color: white;">
|
57 |
-
<h1>{name}</h1>
|
58 |
-
<p style="font-size: 36px; margin-top: -15px; font-style: italic;">{quote}</p>
|
59 |
-
<
|
60 |
-
<strong>Ingredients:</strong><br>
|
61 |
-
|
62 |
-
<strong>
|
63 |
-
|
|
|
|
|
|
|
64 |
</div>
|
65 |
'''
|
66 |
return html_output
|
|
|
54 |
"""Formats the cocktail recipe into HTML for display."""
|
55 |
html_output = f'''
|
56 |
<div style="text-align: center; font-family: 'Verdana', sans-serif; color: white;">
|
57 |
+
<h1 style="font-size: 48px; color: white;">{name}</h1>
|
58 |
+
<p style="font-size: 36px; margin-top: -15px; font-style: italic; color: white;">{quote}</p>
|
59 |
+
<p style="font-size: 20px; color: white;">
|
60 |
+
<strong style="color: white;">Ingredients:</strong><br>
|
61 |
+
{ingredients}<br>
|
62 |
+
<strong style="color: white;">Instruction:</strong><br>
|
63 |
+
{instruction}<br>
|
64 |
+
<strong style="color: white;">Notes:</strong><br>
|
65 |
+
{notes}<br>
|
66 |
+
</p>
|
67 |
</div>
|
68 |
'''
|
69 |
return html_output
|