Spaces:
Build error
Build error
Romeo David commited on
Commit ·
9935929
1
Parent(s): d2415b0
Refactor display_outputs function to use data_field for client name and website, and update analyst response retrieval for improved clarity
Browse files- pages/output.py +5 -5
pages/output.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
import json
|
| 2 |
import os
|
| 3 |
import streamlit as st
|
| 4 |
-
from helper.data_field import get_analyst_response
|
| 5 |
import time
|
| 6 |
|
| 7 |
st.set_page_config(layout="centered")
|
|
@@ -149,8 +149,8 @@ def seo_on_page_table(df_data):
|
|
| 149 |
|
| 150 |
|
| 151 |
def display_outputs():
|
| 152 |
-
client_name = "
|
| 153 |
-
client_website = "
|
| 154 |
overview = f"""**{client_name}** is a financial services company based in Auckland, New Zealand, specializing in providing quick and flexible loan solutions for businesses and individuals. Represented by Paul Stone, LoansOne has enlisted ShoreMarketing to perform a deep dive into their digital footprint to have a view of the holistic status of their digital properties and determine how each property can play part in implementing a stronger digital marketing plan.\n
|
| 155 |
The Digital Marketing Footprint consists of deep-dive research by ShoreMarketing specialists to help the business leaders of LoansOne understand the effectiveness of their existing digital initiatives with the view of giving them an insight to developing a strategy and effectively allocating business resources to digital properties that will give them the best results.\n
|
| 156 |
This document represents the results of our audit of LoansOne’s digital marketing and management practices. Our audit covered reviews of key digital areas: Website and Tools, PPC/SEM, SEO, Social Media, and Market Places."""
|
|
@@ -165,7 +165,7 @@ This document represents the results of our audit of LoansOne’s digital market
|
|
| 165 |
st.markdown(f"{overview}")
|
| 166 |
st.markdown("---")
|
| 167 |
st.markdown("### Executive Summary")
|
| 168 |
-
st.markdown(
|
| 169 |
st.markdown("---")
|
| 170 |
|
| 171 |
st.markdown("### CLIENT FOOTPRINT")
|
|
@@ -358,7 +358,7 @@ We have evaluated the process of content development strategy and existing conte
|
|
| 358 |
st.write(None)
|
| 359 |
|
| 360 |
|
| 361 |
-
conversion = get_analyst_response("
|
| 362 |
st.markdown("##### CONNECTION OF ALL ONLINE AND OFFLINE TOUCH POINTS")
|
| 363 |
st.write(conversion)
|
| 364 |
|
|
|
|
| 1 |
import json
|
| 2 |
import os
|
| 3 |
import streamlit as st
|
| 4 |
+
from helper.data_field import get_analyst_response, data_field
|
| 5 |
import time
|
| 6 |
|
| 7 |
st.set_page_config(layout="centered")
|
|
|
|
| 149 |
|
| 150 |
|
| 151 |
def display_outputs():
|
| 152 |
+
client_name = data_field("Client Name")
|
| 153 |
+
client_website = data_field("Client Website")
|
| 154 |
overview = f"""**{client_name}** is a financial services company based in Auckland, New Zealand, specializing in providing quick and flexible loan solutions for businesses and individuals. Represented by Paul Stone, LoansOne has enlisted ShoreMarketing to perform a deep dive into their digital footprint to have a view of the holistic status of their digital properties and determine how each property can play part in implementing a stronger digital marketing plan.\n
|
| 155 |
The Digital Marketing Footprint consists of deep-dive research by ShoreMarketing specialists to help the business leaders of LoansOne understand the effectiveness of their existing digital initiatives with the view of giving them an insight to developing a strategy and effectively allocating business resources to digital properties that will give them the best results.\n
|
| 156 |
This document represents the results of our audit of LoansOne’s digital marketing and management practices. Our audit covered reviews of key digital areas: Website and Tools, PPC/SEM, SEO, Social Media, and Market Places."""
|
|
|
|
| 165 |
st.markdown(f"{overview}")
|
| 166 |
st.markdown("---")
|
| 167 |
st.markdown("### Executive Summary")
|
| 168 |
+
st.markdown(get_analyst_response("Executive Summary Analyst"))
|
| 169 |
st.markdown("---")
|
| 170 |
|
| 171 |
st.markdown("### CLIENT FOOTPRINT")
|
|
|
|
| 358 |
st.write(None)
|
| 359 |
|
| 360 |
|
| 361 |
+
conversion = get_analyst_response("Connection Analyst")
|
| 362 |
st.markdown("##### CONNECTION OF ALL ONLINE AND OFFLINE TOUCH POINTS")
|
| 363 |
st.write(conversion)
|
| 364 |
|