pratikshahp commited on
Commit
ef529cc
·
verified ·
1 Parent(s): e30adea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ def check_and_improve_seo(content):
29
 
30
  # Generate SEO-optimized content using the Hugging Face model
31
  response = llm(prompt)
32
- optimized_content = response['text'] if 'text' in response else response
33
 
34
  # Define SEO checks
35
  seo_checks = {
 
29
 
30
  # Generate SEO-optimized content using the Hugging Face model
31
  response = llm(prompt)
32
+ optimized_content = response
33
 
34
  # Define SEO checks
35
  seo_checks = {