YUVALON commited on
Commit
1af47a8
Β·
verified Β·
1 Parent(s): ed49820

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -256,11 +256,12 @@ def generate_instagram_captions(description):
256
  if final_caption not in final_captions:
257
  final_captions.append(final_caption)
258
 
259
- # Format as numbered list without emojis
260
  result = ""
 
261
 
262
  for i, caption in enumerate(final_captions[:5]):
263
- result += f"{caption}\n"
264
 
265
  return result.strip()
266
 
@@ -463,7 +464,7 @@ with gr.Blocks(
463
  title="InstaCap - AI Caption Generator"
464
  ) as demo:
465
 
466
- gr.HTML('<h1 class="main-header"><strong>πŸ“Έ InstaCap – AI Caption Generator</strong></h1>')
467
  gr.HTML('<p class="subtitle">Create short, catchy Instagram captions in seconds! Perfect for your social media posts ✨</p>')
468
 
469
  with gr.Row():
 
256
  if final_caption not in final_captions:
257
  final_captions.append(final_caption)
258
 
259
+ # Format as numbered list with emojis
260
  result = ""
261
+ emojis = ["🎯", "⚑", "🌟", "πŸ”₯", "πŸ’«"]
262
 
263
  for i, caption in enumerate(final_captions[:5]):
264
+ result += f"{emojis[i]} {caption}\n"
265
 
266
  return result.strip()
267
 
 
464
  title="InstaCap - AI Caption Generator"
465
  ) as demo:
466
 
467
+ gr.HTML('<h1 class="main-header white-title"><strong>πŸ“Έ InstaCap – AI Caption Generator</strong></h1>')
468
  gr.HTML('<p class="subtitle">Create short, catchy Instagram captions in seconds! Perfect for your social media posts ✨</p>')
469
 
470
  with gr.Row():