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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -256,12 +256,11 @@ 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 with emojis
260
- result = "✨ Your Instagram Captions:\n\n"
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,7 +463,7 @@ with gr.Blocks(
464
  title="InstaCap - AI Caption Generator"
465
  ) as demo:
466
 
467
- gr.HTML('<h1 class="main-header">πŸ“Έ InstaCap – AI Caption Generator</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():
 
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
  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():