sosa123454321
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -169,7 +169,21 @@ def collect_basic_info():
|
|
169 |
data["industry"] = st.text_input("Industry", value=data["industry"])
|
170 |
data["location"] = st.text_input("Location", value=data["location"])
|
171 |
data["mission"] = st.text_area("Mission Statement", value=data["mission"])
|
172 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
173 |
|
174 |
if st.button('Submit'):
|
175 |
for key in data:
|
@@ -178,7 +192,16 @@ def collect_basic_info():
|
|
178 |
# Generate and save content for each section
|
179 |
sections_to_process = [
|
180 |
("Executive Summary", generate_executive_summary),
|
181 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
182 |
]
|
183 |
|
184 |
doc = create_document()
|
@@ -211,4 +234,4 @@ def collect_basic_info():
|
|
211 |
email_file_path = f"/mnt/data/{filename_prefix}.docx" # Path for the email attachment
|
212 |
send_email_with_attachment(data['email'], email_file_path)
|
213 |
|
214 |
-
collect_basic_info()
|
|
|
169 |
data["industry"] = st.text_input("Industry", value=data["industry"])
|
170 |
data["location"] = st.text_input("Location", value=data["location"])
|
171 |
data["mission"] = st.text_area("Mission Statement", value=data["mission"])
|
172 |
+
data["vision"] = st.text_area("Vision Statement", value=data["vision"])
|
173 |
+
data["products_services"] = st.text_area("Products/Services", value=data["products_services"])
|
174 |
+
data["target_market"] = st.text_area("Target Market", value=data["target_market"])
|
175 |
+
data["value_proposition"] = st.text_area("Value Proposition", value=data["value_proposition"])
|
176 |
+
data["promotional_strategy"] = st.text_area("Promotional Strategy", value=data["promotional_strategy"])
|
177 |
+
data["current_revenue"] = st.number_input("Current Revenue", value=data["current_revenue"], format="%.2f")
|
178 |
+
data["current_expenses"] = st.number_input("Current Expenses", value=data["current_expenses"], format="%.2f")
|
179 |
+
data["funding_requirements"] = st.text_area("Funding Requirements", value=data["funding_requirements"])
|
180 |
+
data["management_team"] = st.text_area("Management Team", value=data["management_team"])
|
181 |
+
data["company_structure"] = st.text_area("Company Structure", value=data["company_structure"])
|
182 |
+
data["goals_objectives"] = st.text_area("Goals/Objectives", value=data["goals_objectives"])
|
183 |
+
data["operational_strategy"] = st.text_area("Operational Strategy", value=data["operational_strategy"])
|
184 |
+
data["market_overview"] = st.text_area("Market Overview", value=data["market_overview"])
|
185 |
+
data["email"] = st.text_input("Email", value=data["email"])
|
186 |
+
data["whatsapp_number"] = st.text_input("WhatsApp Number", value=data["whatsapp_number"])
|
187 |
|
188 |
if st.button('Submit'):
|
189 |
for key in data:
|
|
|
192 |
# Generate and save content for each section
|
193 |
sections_to_process = [
|
194 |
("Executive Summary", generate_executive_summary),
|
195 |
+
("Products/Services", generate_products_services_summary),
|
196 |
+
("Target Market", generate_target_market_summary),
|
197 |
+
("Value Proposition", generate_value_proposition_summary),
|
198 |
+
("Promotional Strategy", generate_promotional_strategy_summary),
|
199 |
+
("Financials", generate_financials_summary),
|
200 |
+
("Management Team", generate_management_team_summary),
|
201 |
+
("Company Structure", generate_company_structure_summary),
|
202 |
+
("Goals/Objectives", generate_goals_objectives_summary),
|
203 |
+
("Operational Strategy", generate_operational_strategy_summary),
|
204 |
+
("Market Overview", generate_market_overview_summary),
|
205 |
]
|
206 |
|
207 |
doc = create_document()
|
|
|
234 |
email_file_path = f"/mnt/data/{filename_prefix}.docx" # Path for the email attachment
|
235 |
send_email_with_attachment(data['email'], email_file_path)
|
236 |
|
237 |
+
collect_basic_info()
|