awacke1's picture
Create app.py
689f9d0 verified
import streamlit as st
import pandas as pd
# Set page config
st.set_page_config(page_title="Super Huge Plants Growth Guide", layout="wide")
# Title and introduction
st.title("🌿 How to Grow Super Huge Plants")
st.write("A comprehensive guide for indoor sunroom growth of various plants.")
# Sidebar for plant selection
plant_selection = st.sidebar.selectbox(
"Choose a plant:",
["Sunflowers", "Corn (Maize)", "Mandevilla", "Tropicals", "Monstera", "Coleus", "Snake Plant", "Easter Lily"]
)
# Main content
st.header(f"Growing {plant_selection}")
# Plant data
plant_data = {
"Sunflowers": {
"emoji": "🌻",
"steps": [
"Light: Place in a south-facing window to receive 6-8 hours of direct sunlight daily.",
"Soil: Use well-draining soil mixed with compost for optimal growth.",
"Water: Keep the soil moist, especially during germination and flowering stages."
],
"quote": "Stand tall and reach for the sun—let your roots hold strong. 🌞"
},
"Corn (Maize)": {
"emoji": "🌽",
"steps": [
"Light: Needs full sun—8-10 hours per day is ideal.",
"Hydroponics: Use a deep-water culture system with a nutrient-rich solution.",
"Temperature: Maintain a warm room temperature between 75-85°F (24-29°C)."
],
"quote": "In every kernel lies the potential to reach new heights. 🌱"
},
"Mandevilla": {
"emoji": "🌺",
"steps": [
"Climbing Structure: Provide a trellis for support to grow tall and spread.",
"Fertilizer: Feed biweekly with a high-phosphorus fertilizer.",
"Pruning: Regularly prune to promote bushier and taller growth."
],
"quote": "Climb gracefully, and let your flowers tell your story. 🧗‍♀️"
},
"Tropicals": {
"emoji": "🌴",
"steps": [
"Humidity: Use a humidifier or mist regularly for tropical conditions.",
"Soil: Use a loamy, well-draining soil mix enriched with organic matter.",
"Hydroponics: Try a wick system to ensure consistent moisture levels."
],
"quote": "Thrive where others wilt, and flourish with every drop of rain. 💧"
},
"Monstera": {
"emoji": "🪴",
"steps": [
"Light: Bright, indirect light is key—avoid direct sun to prevent leaf burn.",
"Air Layering: Use air layering to encourage large, healthy aerial roots.",
"Water: Water when the top 2 inches of soil are dry, ensuring good drainage."
],
"quote": "Let your roots explore, and your leaves will reach new horizons. 🌿"
},
"Coleus": {
"emoji": "🌱",
"steps": [
"Light: Prefers partial shade—avoid direct midday sun.",
"Pinching: Regularly pinch off growing tips to promote bushy, dense growth.",
"Fertilizer: Use a balanced liquid fertilizer every 2 weeks."
],
"quote": "Color the world, and grow with every shade. 🎨"
},
"Snake Plant": {
"emoji": "🐍",
"steps": [
"Soil: Use a cactus mix with excellent drainage.",
"Light: Can tolerate low light but grows fastest in bright, indirect light.",
"Water: Water sparingly—allow soil to dry out completely between watering."
],
"quote": "Stand strong through drought, and reach the sky with resilience. 🏜️"
},
"Easter Lily": {
"emoji": "🌸",
"steps": [
"Light: Requires bright, indirect light to prevent legginess.",
"Cool Temperature: Keep at 60-65°F (16-18°C) to extend blooming.",
"Fertilizer: Use a slow-release bulb fertilizer during the growing season."
],
"quote": "Bloom in time, and your fragrance will fill the room. 🕰️"
}
}
# Display plant information
st.subheader(f"{plant_data[plant_selection]['emoji']} Growth Steps")
for i, step in enumerate(plant_data[plant_selection]['steps'], 1):
st.write(f"{i}. {step}")
st.write(f"**Quote:** {plant_data[plant_selection]['quote']}")
# Advanced Growing Techniques
st.header("💧 Advanced Growing Techniques")
techniques = {
"Hydroponics 🚰": [
"System Choice: Choose between nutrient film technique (NFT), deep water culture (DWC), or aeroponics based on space and plant needs.",
"pH Management: Maintain a pH level between 5.5-6.5 for nutrient absorption.",
"Aeration: Use an air pump to ensure roots receive enough oxygen."
],
"Vertical Gardening 🌿": [
"Light: Ensure all layers receive adequate light with grow lights.",
"Structure: Use sturdy shelving and plant holders to maximize space.",
"Drip Irrigation: Install a drip system for consistent watering."
]
}
for technique, steps in techniques.items():
st.subheader(technique)
for i, step in enumerate(steps, 1):
st.write(f"{i}. {step}")
# Optimal Conditions for Record-Setting Growth
st.header("🌞 Optimal Conditions for Record-Setting Growth")
conditions = {
"Temperature Control 🌡️": [
"Warmth: Maintain optimal temperatures for each plant species.",
"Ventilation: Use fans to circulate air and prevent fungal growth.",
"Humidity: Use a humidifier for tropical plants or a dehumidifier for desert species."
],
"Grow Lights 💡": [
"LED Spectrum: Use full-spectrum LED lights for photosynthesis.",
"Light Cycles: Adjust light cycles to simulate natural day and night periods.",
"Distance: Keep lights at the proper distance to prevent leaf burn."
],
"Nutrient Management 🧂": [
"Balanced Feed: Use a balanced N-P-K ratio for healthy growth.",
"Micro-nutrients: Supplement with iron, magnesium, and calcium.",
"Avoid Overfeeding: Follow instructions to avoid nutrient burn."
]
}
for condition, steps in conditions.items():
st.subheader(condition)
for i, step in enumerate(steps, 1):
st.write(f"{i}. {step}")
# Footer
st.markdown("---")
st.markdown("© 2024 Super Huge Plants Growth Guide. Created with Streamlit.")