Amitontheweb commited on
Commit
89c24b9
1 Parent(s): 57defe3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -57,7 +57,7 @@ iface = gr.Interface(fn=title_gen,
57
  outputs=[gr.HTML(label="Title suggestions:")],
58
  title="AI Keywords to Title Generator",
59
  #description="Turn keywords into creative suggestions",
60
- article="<div align=left><h1>AI Creative Title Generator</h1><li>With just keywords, generate a list of creative titles.</li><li>Click on Submit to generate more title options.</li><li>Tweak slider for less or more creative titles</li><li>Check 'diversity' to turn on diversity beam search</li><p>AI Model:<br><li>T5 Model trained on a dataset of titles and related keywords</li><li>Original model id: EnglishVoice/t5-base-keywords-to-headline by English Voice AI Labs</li></p><p>Default parameter details:<br><li>Temperature = 1.2, no_repeat_ngram_size=3, top_k = 15, penalty_alpha = 0.8, max_new_tokens = 30</li><p>Diversity beam search params:<br><li>num_beams=20, diversity_penalty=0.8, num_beam_groups=20</li></div>",
61
  flagging_mode='never',
62
  examples=[
63
  ["new, weight loss, lifestyle"],
 
57
  outputs=[gr.HTML(label="Title suggestions:")],
58
  title="AI Keywords to Title Generator",
59
  #description="Turn keywords into creative suggestions",
60
+ article="<div align=left><h1>AI Creative Title Generator</h1><li>With just keywords, generate a list of creative titles.</li><li>Click on Submit to generate more title options.</li><li>Tweak slider for less or more creative titles</li><li>Check 'diversity' to turn on diversity beam search</li><p>AI Model:<br><li>T5 Model trained on a dataset of titles and related keywords</li><li>Original model id: EnglishVoice/t5-base-keywords-to-headline by English Voice AI Labs</li></p><p>Default parameter details:<br><li><code>temperature = 1.2</code>, <code>no_repeat_ngram_size=3</code>, <code>top_k = 15</code>, <code>penalty_alpha = 0.8</code>, <code>max_new_tokens = 30</code></li><p>Diversity beam search params:<br><li><code>num_beams=20</code>, <code>diversity_penalty=0.8</code>, <code>num_beam_groups=20</code></li></div>",
61
  flagging_mode='never',
62
  examples=[
63
  ["new, weight loss, lifestyle"],