Spaces:
Build error
Build error
table layout
#13
by notjulietxd - opened
- pages/home.py +9 -8
- pages/output.py +5 -6
pages/home.py
CHANGED
|
@@ -106,21 +106,22 @@ class DigitalFootprintDashboard:
|
|
| 106 |
|
| 107 |
async def create_row2(self):
|
| 108 |
"""Create the first row with four columns"""
|
| 109 |
-
col1,
|
|
|
|
| 110 |
|
| 111 |
with col1:
|
| 112 |
st.write("## Ads")
|
| 113 |
self.sem_ppc = Sem_PPC(os.getenv('Model_SEM_PPC_Analyst'))
|
| 114 |
-
with col2:
|
| 115 |
-
|
| 116 |
-
|
| 117 |
-
with col3:
|
| 118 |
-
|
| 119 |
-
|
| 120 |
with col4:
|
| 121 |
st.write("## Website Content")
|
| 122 |
self.content = Content(os.getenv('Model_Content'))
|
| 123 |
-
return col1,
|
| 124 |
|
| 125 |
async def run_analysis(self):
|
| 126 |
result = await asyncio.gather(
|
|
|
|
| 106 |
|
| 107 |
async def create_row2(self):
|
| 108 |
"""Create the first row with four columns"""
|
| 109 |
+
col1, col4 = st.columns(2, border=True, gap="medium", vertical_alignment="top")
|
| 110 |
+
# col1, col2, col3, col4 = st.columns(4, border=True, gap="medium", vertical_alignment="top")
|
| 111 |
|
| 112 |
with col1:
|
| 113 |
st.write("## Ads")
|
| 114 |
self.sem_ppc = Sem_PPC(os.getenv('Model_SEM_PPC_Analyst'))
|
| 115 |
+
# with col2:
|
| 116 |
+
# st.write("## Amazon")
|
| 117 |
+
# self.amazon = Amazon(os.getenv('Model_SEM_PPC_Analyst'))
|
| 118 |
+
# with col3:
|
| 119 |
+
# st.write("## eBay")
|
| 120 |
+
# self.ebay = eBay(os.getenv('Model_SEM_PPC_Analyst'))
|
| 121 |
with col4:
|
| 122 |
st.write("## Website Content")
|
| 123 |
self.content = Content(os.getenv('Model_Content'))
|
| 124 |
+
return col1, col4
|
| 125 |
|
| 126 |
async def run_analysis(self):
|
| 127 |
result = await asyncio.gather(
|
pages/output.py
CHANGED
|
@@ -333,12 +333,11 @@ Regardless, it is still a great channel worth investing to improve a business’
|
|
| 333 |
st.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)
|
| 334 |
st.markdown("---")
|
| 335 |
|
| 336 |
-
if (get_analyst_response("Marketplace Analyst")):
|
| 337 |
-
|
| 338 |
-
|
| 339 |
-
|
| 340 |
-
|
| 341 |
-
st.markdown("---")
|
| 342 |
|
| 343 |
|
| 344 |
st.markdown("## OTHER INFORMATION")
|
|
|
|
| 333 |
st.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)
|
| 334 |
st.markdown("---")
|
| 335 |
|
| 336 |
+
# if (get_analyst_response("Marketplace Analyst")):
|
| 337 |
+
# st.markdown("### MARKET PLACE")
|
| 338 |
+
# st.table(get_analyst_response("Marketplace Analyst"))
|
| 339 |
+
# st.markdown("<a href='#top'>Go to top</a>", unsafe_allow_html=True)
|
| 340 |
+
# st.markdown("---")
|
|
|
|
| 341 |
|
| 342 |
|
| 343 |
st.markdown("## OTHER INFORMATION")
|