ryanshelley commited on
Commit
666dd15
Β·
verified Β·
1 Parent(s): 89491b0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -372,6 +372,8 @@ class SEOContentAnalyzer:
372
  response = await self.llm.ainvoke(prompt)
373
  return response.content
374
 
 
 
375
  # Gradio Interface Functions
376
  async def run_seo_analysis(api_key: str, keyword: str, client_url: str, competitor_urls_text: str, progress=gr.Progress()):
377
  """Main function to run SEO analysis"""
@@ -510,7 +512,7 @@ def create_interface():
510
  )
511
  ) as demo:
512
  gr.Markdown("""
513
- # πŸ” SEO Content Gap Analysis Using Vector Embeddings
514
 
515
  Analyze how well your content matches a target keyword compared to competitors using AI-powered semantic similarity.
516
 
@@ -607,6 +609,7 @@ def create_interface():
607
  - **Enhanced Content Extraction**: Uses Trafilatura for better content quality
608
  - **Intelligent Chunking**: Header-aware splitting for more accurate analysis
609
  - **Improved Accuracy**: Better handling of complex page structures
 
610
  """)
611
 
612
  # Event handlers
@@ -622,6 +625,7 @@ def create_interface():
622
  - Requires OpenAI API key (costs ~$0.01-0.10 per analysis)
623
  - Enhanced extraction works best with any type of web content
624
  - Trafilatura respects robots.txt and implements smart rate limiting
 
625
  """)
626
 
627
  return demo
 
372
  response = await self.llm.ainvoke(prompt)
373
  return response.content
374
 
375
+
376
+
377
  # Gradio Interface Functions
378
  async def run_seo_analysis(api_key: str, keyword: str, client_url: str, competitor_urls_text: str, progress=gr.Progress()):
379
  """Main function to run SEO analysis"""
 
512
  )
513
  ) as demo:
514
  gr.Markdown("""
515
+ # πŸ” SEO Content Gap Analysis Tool
516
 
517
  Analyze how well your content matches a target keyword compared to competitors using AI-powered semantic similarity.
518
 
 
609
  - **Enhanced Content Extraction**: Uses Trafilatura for better content quality
610
  - **Intelligent Chunking**: Header-aware splitting for more accurate analysis
611
  - **Improved Accuracy**: Better handling of complex page structures
612
+ - **Glass Theme**: Modern, sleek interface design
613
  """)
614
 
615
  # Event handlers
 
625
  - Requires OpenAI API key (costs ~$0.01-0.10 per analysis)
626
  - Enhanced extraction works best with any type of web content
627
  - Trafilatura respects robots.txt and implements smart rate limiting
628
+ - Glass theme provides modern, professional appearance
629
  """)
630
 
631
  return demo