Spaces:
Build error
Build error
table layout
#13
by notjulietxd - opened
Files changed (2)
- pages/home.py+9-8
- pages/output.py+5-6
105 unmodified lines106107108109110111112113114115116117118119120121122123124125126105 unmodified linesasync def create_row2(self):"""Create the first row with four columns"""col1, col2, col3, col4 = st.columns(4, border=True, gap="medium", vertical_alignment="top")with col1:st.write("## Ads")self.sem_ppc = Sem_PPC(os.getenv('Model_SEM_PPC_Analyst'))with col2:st.write("## Amazon")self.amazon = Amazon(os.getenv('Model_SEM_PPC_Analyst'))with col3:st.write("## eBay")self.ebay = eBay(os.getenv('Model_SEM_PPC_Analyst'))with col4:st.write("## Website Content")self.content = Content(os.getenv('Model_Content'))return col1, col2, col3, col4async def run_analysis(self):result = await asyncio.gather(105 unmodified lines106107108109110111112113114115116117118119120121122123124125126127105 unmodified linesasync def create_row2(self):"""Create the first row with four columns"""col1, col4 = st.columns(2, border=True, gap="medium", vertical_alignment="top")# col1, col2, col3, col4 = st.columns(4, border=True, gap="medium", vertical_alignment="top")with col1:st.write("## Ads")self.sem_ppc = Sem_PPC(os.getenv('Model_SEM_PPC_Analyst'))# with col2:# st.write("## Amazon")# self.amazon = Amazon(os.getenv('Model_SEM_PPC_Analyst'))# with col3:# st.write("## eBay")# self.ebay = eBay(os.getenv('Model_SEM_PPC_Analyst'))with col4:st.write("## Website Content")self.content = Content(os.getenv('Model_Content'))return col1, col4async def run_analysis(self):result = await asyncio.gather(
332 unmodified lines333334335336337338339340341342343344332 unmodified linesst.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)st.markdown("---")if (get_analyst_response("Marketplace Analyst")):st.markdown("### MARKET PLACE")marketpalce_data = get_analyst_response("Marketplace Analyst")write_table(marketpalce_data)st.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)st.markdown("---")st.markdown("## OTHER INFORMATION")332 unmodified lines333334335336337338339340341342343332 unmodified linesst.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)st.markdown("---")# if (get_analyst_response("Marketplace Analyst")):# st.markdown("### MARKET PLACE")# st.table(get_analyst_response("Marketplace Analyst"))# st.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)# st.markdown("---")st.markdown("## OTHER INFORMATION")
pages/home.py+9-8
pages/output.py+5-6