Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -399,9 +399,11 @@ def create_esg_plots(articles):
|
|
| 399 |
return topics_fig, risk_fig
|
| 400 |
|
| 401 |
# Main app
|
| 402 |
-
st.title("🌍 ESG Risk Assessment Tool")
|
| 403 |
st.markdown("""
|
| 404 |
<div class='card'>
|
|
|
|
|
|
|
| 405 |
<p>This tool helps you assess Environmental, Social, and Governance (ESG) risks for companies
|
| 406 |
based on recent news and publications. Enter a company name to start the analysis.</p>
|
| 407 |
</div>
|
|
@@ -409,8 +411,8 @@ st.markdown("""
|
|
| 409 |
|
| 410 |
# Input form
|
| 411 |
with st.form("company_form"):
|
| 412 |
-
company_name = st.text_input("Enter company name:", placeholder="e.g., Apple, Tesla, Unilever")
|
| 413 |
-
submit_button = st.form_submit_button("Analyze ESG Risk")
|
| 414 |
|
| 415 |
# If company name is provided and form is submitted
|
| 416 |
if submit_button and company_name:
|
|
@@ -585,7 +587,7 @@ if submit_button and company_name:
|
|
| 585 |
# Footer
|
| 586 |
st.markdown("""
|
| 587 |
<div style="text-align: center; margin-top: 30px; padding: 20px; border-top: 1px solid #ddd;">
|
| 588 |
-
<p>Công cụ Đánh giá Rủi ro ESG - ESG Risk Assessment Tool | Dữ liệu chỉ nhằm mục đích thông tin </p>
|
| 589 |
<p> ©Mạng lưới Chuyển đổi Xanh và Phát triển bền vững (GXS) 2025</p>
|
| 590 |
</div>
|
| 591 |
""", unsafe_allow_html=True)
|
|
|
|
| 399 |
return topics_fig, risk_fig
|
| 400 |
|
| 401 |
# Main app
|
| 402 |
+
st.title("🌍 Công cụ Đánh giá Rủi ro ESG 360° - ESG Risk Assessment Tool")
|
| 403 |
st.markdown("""
|
| 404 |
<div class='card'>
|
| 405 |
+
<p>Công cụ này giúp bạn đánh giá rủi ro Môi trường, Xã hội và Quản trị (ESG)
|
| 406 |
+
của các công ty dựa trên tin tức và ấn phẩm gần đây. Nhập tên công ty để bắt đầu phân tích.</p>
|
| 407 |
<p>This tool helps you assess Environmental, Social, and Governance (ESG) risks for companies
|
| 408 |
based on recent news and publications. Enter a company name to start the analysis.</p>
|
| 409 |
</div>
|
|
|
|
| 411 |
|
| 412 |
# Input form
|
| 413 |
with st.form("company_form"):
|
| 414 |
+
company_name = st.text_input("Điền tên công ty - Enter company name:", placeholder="e.g., Vingroup, FPT, Vinamilk, Samsung, Apple, Tesla, Unilever")
|
| 415 |
+
submit_button = st.form_submit_button("Phân tích Rủi ro ESG - Analyze ESG Risk")
|
| 416 |
|
| 417 |
# If company name is provided and form is submitted
|
| 418 |
if submit_button and company_name:
|
|
|
|
| 587 |
# Footer
|
| 588 |
st.markdown("""
|
| 589 |
<div style="text-align: center; margin-top: 30px; padding: 20px; border-top: 1px solid #ddd;">
|
| 590 |
+
<p>Công cụ Đánh giá Rủi ro ESG 360° - ESG Risk Assessment Tool | Dữ liệu chỉ nhằm mục đích thông tin </p>
|
| 591 |
<p> ©Mạng lưới Chuyển đổi Xanh và Phát triển bền vững (GXS) 2025</p>
|
| 592 |
</div>
|
| 593 |
""", unsafe_allow_html=True)
|