MBilal-72 commited on
Commit
c9c663c
Β·
verified Β·
1 Parent(s): 1169bfe

tab3 to tab1 and tab1 to tab3 update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -48,7 +48,6 @@ class GEOSEOApp:
48
  self.embeddings = HuggingFaceEmbeddings(
49
  model_name="sentence-transformers/all-MiniLM-L6-v2",
50
  cache_folder="./hf_cache",
51
- model_kwargs={"device": "cpu"} # <-- Add this line
52
  )
53
 
54
  def setup_parsers(self):
@@ -80,19 +79,19 @@ class GEOSEOApp:
80
 
81
  # Main tabs
82
  tab1, tab2, tab3 = st.tabs([
83
- "πŸ“„ Document Q&A",
84
  "πŸ”§ Content Enhancement",
85
- "🌐 Website GEO Analysis"
86
  ])
87
 
88
  with tab1:
89
- self.render_document_qa_tab()
90
 
91
  with tab2:
92
  self.render_content_enhancement_tab()
93
 
94
  with tab3:
95
- self.render_website_analysis_tab()
96
 
97
  def render_sidebar(self):
98
  """Render sidebar with information and controls"""
 
48
  self.embeddings = HuggingFaceEmbeddings(
49
  model_name="sentence-transformers/all-MiniLM-L6-v2",
50
  cache_folder="./hf_cache",
 
51
  )
52
 
53
  def setup_parsers(self):
 
79
 
80
  # Main tabs
81
  tab1, tab2, tab3 = st.tabs([
82
+ "🌐 Website GEO Analysis",
83
  "πŸ”§ Content Enhancement",
84
+ "πŸ“„ Document Q&A",
85
  ])
86
 
87
  with tab1:
88
+ self.render_website_analysis_tab()
89
 
90
  with tab2:
91
  self.render_content_enhancement_tab()
92
 
93
  with tab3:
94
+ self.render_document_qa_tab()
95
 
96
  def render_sidebar(self):
97
  """Render sidebar with information and controls"""