Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -451,33 +451,33 @@ t("tab_chat", lang)
|
|
| 451 |
# ========================================
|
| 452 |
with tab_home:
|
| 453 |
st.markdown(f"## {t('home_welcome', lang)}")
|
| 454 |
-
|
| 455 |
-
col1, col2 = st.columns(2)
|
| 456 |
-
|
| 457 |
-
with col1:
|
| 458 |
-
|
| 459 |
-
|
| 460 |
|
| 461 |
- {t('home_feature_1', lang)}
|
| 462 |
- {t('home_feature_2', lang)}
|
| 463 |
- {t('home_feature_3', lang)}
|
| 464 |
- {t('home_feature_4', lang)}
|
| 465 |
""")
|
| 466 |
-
|
| 467 |
-
with col2:
|
| 468 |
-
|
| 469 |
-
|
| 470 |
|
| 471 |
{t('home_step_1', lang)}
|
| 472 |
{t('home_step_2', lang)}
|
| 473 |
{t('home_step_3', lang)}
|
| 474 |
|
| 475 |
-
|
| 476 |
- {t('home_mode_fast', lang)}
|
| 477 |
- {t('home_mode_intelligent', lang)}
|
| 478 |
""")
|
| 479 |
-
|
| 480 |
-
st.info(f"{t('home_tip', lang)}")
|
| 481 |
|
| 482 |
# ========================================
|
| 483 |
# TAB 2: AI ANALYSIS
|
|
@@ -589,9 +589,6 @@ with tab_build:
|
|
| 589 |
if not build_description:
|
| 590 |
st.error(t('error_empty_query', lang))
|
| 591 |
else:
|
| 592 |
-
# Debug: Show what mode is being used
|
| 593 |
-
st.info(f"🔍 Debug: use_llm = {use_llm}, Type: {type(use_llm)}")
|
| 594 |
-
|
| 595 |
with st.spinner(t('generating', lang)):
|
| 596 |
try:
|
| 597 |
if build_tool == "n8n":
|
|
|
|
| 451 |
# ========================================
|
| 452 |
with tab_home:
|
| 453 |
st.markdown(f"## {t('home_welcome', lang)}")
|
| 454 |
+
|
| 455 |
+
col1, col2 = st.columns(2)
|
| 456 |
+
|
| 457 |
+
with col1:
|
| 458 |
+
st.markdown(f"""
|
| 459 |
+
### {t('home_features', lang)}
|
| 460 |
|
| 461 |
- {t('home_feature_1', lang)}
|
| 462 |
- {t('home_feature_2', lang)}
|
| 463 |
- {t('home_feature_3', lang)}
|
| 464 |
- {t('home_feature_4', lang)}
|
| 465 |
""")
|
| 466 |
+
|
| 467 |
+
with col2:
|
| 468 |
+
st.markdown(f"""
|
| 469 |
+
### {t('home_getting_started', lang)}
|
| 470 |
|
| 471 |
{t('home_step_1', lang)}
|
| 472 |
{t('home_step_2', lang)}
|
| 473 |
{t('home_step_3', lang)}
|
| 474 |
|
| 475 |
+
### {t('home_modes', lang)}
|
| 476 |
- {t('home_mode_fast', lang)}
|
| 477 |
- {t('home_mode_intelligent', lang)}
|
| 478 |
""")
|
| 479 |
+
|
| 480 |
+
st.info(f"{t('home_tip', lang)}")
|
| 481 |
|
| 482 |
# ========================================
|
| 483 |
# TAB 2: AI ANALYSIS
|
|
|
|
| 589 |
if not build_description:
|
| 590 |
st.error(t('error_empty_query', lang))
|
| 591 |
else:
|
|
|
|
|
|
|
|
|
|
| 592 |
with st.spinner(t('generating', lang)):
|
| 593 |
try:
|
| 594 |
if build_tool == "n8n":
|