mroccuper commited on
Commit
c98f422
Β·
verified Β·
1 Parent(s): a5715b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -59,9 +59,9 @@ User may provide raw facts, a bio, a business update, or a rough news draft.
59
  - At the END of the article, include a separate section with SEO metadata formatted as an HTML list:
60
  <h3>SEO Metadata</h3>
61
  <ul>
62
- <li><strong>Meta Title:</strong> [Your suggested title here]</li>
63
- <li><strong>Meta Description:</strong> [Your suggested description here]</li>
64
- <li><strong>Target Keyword:</strong> [Your suggested keyword here]</li>
65
  </ul>
66
  - Do NOT wrap the output in ```html or ``` markdown blocks.
67
 
@@ -293,7 +293,7 @@ def create_interface():
293
  with gr.Row():
294
  max_length_slider = gr.Slider(
295
  minimum=1000,
296
- maximum=4000,
297
  value=4000,
298
  step=500,
299
  label="πŸ“ Max Input Length (characters)"
@@ -316,7 +316,7 @@ def create_interface():
316
 
317
  download_file = gr.File(
318
  label="πŸ“₯ Download HTML Article",
319
- interactive=False
320
  )
321
 
322
  with gr.Row():
@@ -324,7 +324,7 @@ def create_interface():
324
  gr.HTML("<h3>🎨 Generated Article Preview</h3>")
325
  article_output = gr.HTML(
326
  label="Generated PR Article",
327
- show_label=False
328
  )
329
 
330
  # Event handlers
 
59
  - At the END of the article, include a separate section with SEO metadata formatted as an HTML list:
60
  <h3>SEO Metadata</h3>
61
  <ul>
62
+ <li><strong>βœ… Meta Title:</strong> [Your suggested title here]</li>
63
+ <li><strong>βœ… Meta Description:</strong> [Your suggested description here]</li>
64
+ <li><strong>βœ… Target Keyword:</strong> [Your suggested keyword here]</li>
65
  </ul>
66
  - Do NOT wrap the output in ```html or ``` markdown blocks.
67
 
 
293
  with gr.Row():
294
  max_length_slider = gr.Slider(
295
  minimum=1000,
296
+ maximum=7000,
297
  value=4000,
298
  step=500,
299
  label="πŸ“ Max Input Length (characters)"
 
316
 
317
  download_file = gr.File(
318
  label="πŸ“₯ Download HTML Article",
319
+ interactive=True
320
  )
321
 
322
  with gr.Row():
 
324
  gr.HTML("<h3>🎨 Generated Article Preview</h3>")
325
  article_output = gr.HTML(
326
  label="Generated PR Article",
327
+ show_label=True
328
  )
329
 
330
  # Event handlers