tywei08 commited on
Commit
950bde0
·
verified ·
1 Parent(s): bb12dd4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -7
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
- <div style="font-size: 20px;">
60
- <strong>Ingredients:</strong><br>{ingredients}<br>
61
- <strong>Instruction:</strong><br>{instruction}<br>
62
- <strong>Notes:</strong><br>{notes}<br>
63
- </div>
 
 
 
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