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4 |
+
# Set page config
|
| 5 |
+
st.set_page_config(page_title="Super Huge Plants Growth Guide", layout="wide")
|
| 6 |
+
|
| 7 |
+
# Title and introduction
|
| 8 |
+
st.title("🌿 How to Grow Super Huge Plants")
|
| 9 |
+
st.write("A comprehensive guide for indoor sunroom growth of various plants.")
|
| 10 |
+
|
| 11 |
+
# Sidebar for plant selection
|
| 12 |
+
plant_selection = st.sidebar.selectbox(
|
| 13 |
+
"Choose a plant:",
|
| 14 |
+
["Sunflowers", "Corn (Maize)", "Mandevilla", "Tropicals", "Monstera", "Coleus", "Snake Plant", "Easter Lily"]
|
| 15 |
+
)
|
| 16 |
+
|
| 17 |
+
# Main content
|
| 18 |
+
st.header(f"Growing {plant_selection}")
|
| 19 |
+
|
| 20 |
+
# Plant data
|
| 21 |
+
plant_data = {
|
| 22 |
+
"Sunflowers": {
|
| 23 |
+
"emoji": "🌻",
|
| 24 |
+
"steps": [
|
| 25 |
+
"Light: Place in a south-facing window to receive 6-8 hours of direct sunlight daily.",
|
| 26 |
+
"Soil: Use well-draining soil mixed with compost for optimal growth.",
|
| 27 |
+
"Water: Keep the soil moist, especially during germination and flowering stages."
|
| 28 |
+
],
|
| 29 |
+
"quote": "Stand tall and reach for the sun—let your roots hold strong. 🌞"
|
| 30 |
+
},
|
| 31 |
+
"Corn (Maize)": {
|
| 32 |
+
"emoji": "🌽",
|
| 33 |
+
"steps": [
|
| 34 |
+
"Light: Needs full sun—8-10 hours per day is ideal.",
|
| 35 |
+
"Hydroponics: Use a deep-water culture system with a nutrient-rich solution.",
|
| 36 |
+
"Temperature: Maintain a warm room temperature between 75-85°F (24-29°C)."
|
| 37 |
+
],
|
| 38 |
+
"quote": "In every kernel lies the potential to reach new heights. 🌱"
|
| 39 |
+
},
|
| 40 |
+
"Mandevilla": {
|
| 41 |
+
"emoji": "🌺",
|
| 42 |
+
"steps": [
|
| 43 |
+
"Climbing Structure: Provide a trellis for support to grow tall and spread.",
|
| 44 |
+
"Fertilizer: Feed biweekly with a high-phosphorus fertilizer.",
|
| 45 |
+
"Pruning: Regularly prune to promote bushier and taller growth."
|
| 46 |
+
],
|
| 47 |
+
"quote": "Climb gracefully, and let your flowers tell your story. 🧗♀️"
|
| 48 |
+
},
|
| 49 |
+
"Tropicals": {
|
| 50 |
+
"emoji": "🌴",
|
| 51 |
+
"steps": [
|
| 52 |
+
"Humidity: Use a humidifier or mist regularly for tropical conditions.",
|
| 53 |
+
"Soil: Use a loamy, well-draining soil mix enriched with organic matter.",
|
| 54 |
+
"Hydroponics: Try a wick system to ensure consistent moisture levels."
|
| 55 |
+
],
|
| 56 |
+
"quote": "Thrive where others wilt, and flourish with every drop of rain. 💧"
|
| 57 |
+
},
|
| 58 |
+
"Monstera": {
|
| 59 |
+
"emoji": "🪴",
|
| 60 |
+
"steps": [
|
| 61 |
+
"Light: Bright, indirect light is key—avoid direct sun to prevent leaf burn.",
|
| 62 |
+
"Air Layering: Use air layering to encourage large, healthy aerial roots.",
|
| 63 |
+
"Water: Water when the top 2 inches of soil are dry, ensuring good drainage."
|
| 64 |
+
],
|
| 65 |
+
"quote": "Let your roots explore, and your leaves will reach new horizons. 🌿"
|
| 66 |
+
},
|
| 67 |
+
"Coleus": {
|
| 68 |
+
"emoji": "🌱",
|
| 69 |
+
"steps": [
|
| 70 |
+
"Light: Prefers partial shade—avoid direct midday sun.",
|
| 71 |
+
"Pinching: Regularly pinch off growing tips to promote bushy, dense growth.",
|
| 72 |
+
"Fertilizer: Use a balanced liquid fertilizer every 2 weeks."
|
| 73 |
+
],
|
| 74 |
+
"quote": "Color the world, and grow with every shade. 🎨"
|
| 75 |
+
},
|
| 76 |
+
"Snake Plant": {
|
| 77 |
+
"emoji": "🐍",
|
| 78 |
+
"steps": [
|
| 79 |
+
"Soil: Use a cactus mix with excellent drainage.",
|
| 80 |
+
"Light: Can tolerate low light but grows fastest in bright, indirect light.",
|
| 81 |
+
"Water: Water sparingly—allow soil to dry out completely between watering."
|
| 82 |
+
],
|
| 83 |
+
"quote": "Stand strong through drought, and reach the sky with resilience. 🏜️"
|
| 84 |
+
},
|
| 85 |
+
"Easter Lily": {
|
| 86 |
+
"emoji": "🌸",
|
| 87 |
+
"steps": [
|
| 88 |
+
"Light: Requires bright, indirect light to prevent legginess.",
|
| 89 |
+
"Cool Temperature: Keep at 60-65°F (16-18°C) to extend blooming.",
|
| 90 |
+
"Fertilizer: Use a slow-release bulb fertilizer during the growing season."
|
| 91 |
+
],
|
| 92 |
+
"quote": "Bloom in time, and your fragrance will fill the room. 🕰️"
|
| 93 |
+
}
|
| 94 |
+
}
|
| 95 |
+
|
| 96 |
+
# Display plant information
|
| 97 |
+
st.subheader(f"{plant_data[plant_selection]['emoji']} Growth Steps")
|
| 98 |
+
for i, step in enumerate(plant_data[plant_selection]['steps'], 1):
|
| 99 |
+
st.write(f"{i}. {step}")
|
| 100 |
+
|
| 101 |
+
st.write(f"**Quote:** {plant_data[plant_selection]['quote']}")
|
| 102 |
+
|
| 103 |
+
# Advanced Growing Techniques
|
| 104 |
+
st.header("💧 Advanced Growing Techniques")
|
| 105 |
+
|
| 106 |
+
techniques = {
|
| 107 |
+
"Hydroponics 🚰": [
|
| 108 |
+
"System Choice: Choose between nutrient film technique (NFT), deep water culture (DWC), or aeroponics based on space and plant needs.",
|
| 109 |
+
"pH Management: Maintain a pH level between 5.5-6.5 for nutrient absorption.",
|
| 110 |
+
"Aeration: Use an air pump to ensure roots receive enough oxygen."
|
| 111 |
+
],
|
| 112 |
+
"Vertical Gardening 🌿": [
|
| 113 |
+
"Light: Ensure all layers receive adequate light with grow lights.",
|
| 114 |
+
"Structure: Use sturdy shelving and plant holders to maximize space.",
|
| 115 |
+
"Drip Irrigation: Install a drip system for consistent watering."
|
| 116 |
+
]
|
| 117 |
+
}
|
| 118 |
+
|
| 119 |
+
for technique, steps in techniques.items():
|
| 120 |
+
st.subheader(technique)
|
| 121 |
+
for i, step in enumerate(steps, 1):
|
| 122 |
+
st.write(f"{i}. {step}")
|
| 123 |
+
|
| 124 |
+
# Optimal Conditions for Record-Setting Growth
|
| 125 |
+
st.header("🌞 Optimal Conditions for Record-Setting Growth")
|
| 126 |
+
|
| 127 |
+
conditions = {
|
| 128 |
+
"Temperature Control 🌡️": [
|
| 129 |
+
"Warmth: Maintain optimal temperatures for each plant species.",
|
| 130 |
+
"Ventilation: Use fans to circulate air and prevent fungal growth.",
|
| 131 |
+
"Humidity: Use a humidifier for tropical plants or a dehumidifier for desert species."
|
| 132 |
+
],
|
| 133 |
+
"Grow Lights 💡": [
|
| 134 |
+
"LED Spectrum: Use full-spectrum LED lights for photosynthesis.",
|
| 135 |
+
"Light Cycles: Adjust light cycles to simulate natural day and night periods.",
|
| 136 |
+
"Distance: Keep lights at the proper distance to prevent leaf burn."
|
| 137 |
+
],
|
| 138 |
+
"Nutrient Management 🧂": [
|
| 139 |
+
"Balanced Feed: Use a balanced N-P-K ratio for healthy growth.",
|
| 140 |
+
"Micro-nutrients: Supplement with iron, magnesium, and calcium.",
|
| 141 |
+
"Avoid Overfeeding: Follow instructions to avoid nutrient burn."
|
| 142 |
+
]
|
| 143 |
+
}
|
| 144 |
+
|
| 145 |
+
for condition, steps in conditions.items():
|
| 146 |
+
st.subheader(condition)
|
| 147 |
+
for i, step in enumerate(steps, 1):
|
| 148 |
+
st.write(f"{i}. {step}")
|
| 149 |
+
|
| 150 |
+
# Footer
|
| 151 |
+
st.markdown("---")
|
| 152 |
+
st.markdown("© 2024 Super Huge Plants Growth Guide. Created with Streamlit.")
|