<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Khadijat Agboola on Medium]]></title>
        <description><![CDATA[Stories by Khadijat Agboola on Medium]]></description>
        <link>https://medium.com/@khadijahagboola12?source=rss-2cd9f988eca1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*WTlnirqruORfowIv</url>
            <title>Stories by Khadijat Agboola on Medium</title>
            <link>https://medium.com/@khadijahagboola12?source=rss-2cd9f988eca1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 23:17:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@khadijahagboola12/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Building an End-to-End Automated Social Media Strategy Using Python, APIs, and Google Sheets]]></title>
            <link>https://medium.com/data-epic/building-an-end-to-end-automated-social-media-strategy-using-python-apis-and-google-sheets-9904a535801f?source=rss-2cd9f988eca1------2</link>
            <guid isPermaLink="false">https://medium.com/p/9904a535801f</guid>
            <category><![CDATA[end-to-end-solution]]></category>
            <category><![CDATA[automation]]></category>
            <dc:creator><![CDATA[Khadijat Agboola]]></dc:creator>
            <pubDate>Wed, 14 May 2025 18:08:57 GMT</pubDate>
            <atom:updated>2025-06-17T11:15:06.800Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*2cEbpClCzpR8CUZGweo3Sw.png" /></figure><h3>Table of contents</h3><ol><li>Overview</li><li>Workflow</li><li>Tools and Technology</li><li>Step-by-Step breakdown</li><li>Challenges and Considerations</li><li>How to expand or deploy</li><li>Final thoughts</li></ol><h3>Overview</h3><p>Managing social media for business owners can feel like juggling too many balls at once, doing competitor research, brainstorming content ideas, updating spreadsheets, scheduling posts, and then trying to track what’s working and what’s not. It’s a lot, especially when most of it is done manually.</p><p>In this article, we will explore how a startup gadget retailer, GadgetNest can simplify and streamline this process by building a fully automated content strategy system. Imagine a setup where your competitor analysis runs on its own, your social media calendar is created automatically, content is filled into a Google Sheet, posts go out on schedule and you get a live dashboard showing what’s been posted and how it’s performing, all without you lifting a finger after the initial setup.</p><p>Using Python, APIs and automation platforms, we will walk through how to bring this idea to life. Whether you are a small business owner, a marketer, or just tired of repetitive tasks, this approach can help you save time, stay consistent, and focus more on strategy rather than manual work.</p><h3><strong>Workflow</strong></h3><p>This workflow automates everything for GadgetNest, from gathering competitor insights to generating AI-powered content, organizing it in Google Sheets, scheduling posts via Zapier, and tracking performance through a live dashboard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E_TQwcyqb0xte5fQYiZHKA.png" /></figure><h3>Tools and Technology</h3><p>Before getting started with the automation steps, it is important to understand the core tools and technologies powering each stage. From gathering data to generating content, scheduling posts, and visualizing performance, every step is supported by carefully chosen Python libraries and external platforms that enable full automation. Here’s a breakdown of the technologies and what they help us achieve:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*GVKkjzovMKGS3Wq8_iAVXg.png" /></figure><h3>Step-by-Step breakdown</h3><h4><strong>1. Competitor Analysis</strong></h4><p>As a startup gadget company, conducting a competitor analysis is essential for effectively positioning our brand, identifying market gaps and refining both our products and marketing strategies.</p><p>For this analysis, we have selected <strong>Slot.ng</strong> as our primary competitor. To gain insights into their offerings, we will scrape their website and extract data across various product categories, including Phones &amp; Tablets, Computing, and Appliances.</p><p>Slot.ng website relies heavily on JavaScript to render product listings dynamically, while <strong>BeautifulSoup</strong> is excellent for parsing static HTML content, it struggles with websites like this. A good alternative is Selenium, <strong>Selenium</strong> simulates a real browser, allowing JavaScript to execute and render the full content of the page. This makes it ideal for scraping dynamic websites where the data appears only after the page fully loads.</p><p>So in this case, Selenium was used to build an automatic scraper. This scraper emulates a headless browser session to handle JavaScript-rendered content, ensuring we capture product listings accurately.</p><p>The script navigates through selected product categories — <strong>Phones &amp; Tablets</strong>, <strong>Computing</strong>, and <strong>Accessories</strong> — across multiple pages. For each item, it extracts the <strong>product name</strong>, <strong>price</strong>, and <strong>URL</strong>, and then saves this data into separate CSV files categorized by product type.</p><p>This is the code used:</p><pre>from selenium import webdriver  # This lets us control a browser using Python<br>from selenium.webdriver.chrome.options import Options  # Used to customize how the Chrome browser behaves<br>from selenium.webdriver.common.by import By  # Helps us find elements on a web page<br>import pandas as pd  # For organizing and saving our scraped data<br>import time  # We&#39;ll use this to pause and let pages fully load<br><br># Set up Chrome to run in headless mode (i.e., no browser window will open)<br>options = Options()<br>options.add_argument(&quot;--headless&quot;)  # Runs the browser in the background without a window<br>options.add_argument(&quot;--no-sandbox&quot;)  # Avoids issues in restricted environments like servers<br>options.add_argument(&quot;--disable-dev-shm-usage&quot;)  # Prevents memory errors in some systems<br><br># Launch the Chrome browser using the options above<br>driver = webdriver.Chrome(options=options)<br><br># This function does the actual scraping work<br>def scrape_slot_products(base_url, num_pages=3):<br>    products = []  # A list to store the information we collect<br><br>    # Loop through the specified number of pages<br>    for page in range(1, num_pages + 1):<br>        url = f&quot;{base_url}?p={page}&quot;  # Create the URL for each page<br>        print(f&quot;Scraping: {url}&quot;)  # Let us know which page is being scraped<br>        driver.get(url)  # Open the page in the browser<br>        time.sleep(3)  # Wait 3 seconds to allow all content (especially JavaScript) to load<br><br>        # Find all product items on the page using their CSS selector<br>        items = driver.find_elements(By.CSS_SELECTOR, &quot;li.item.product.product-item&quot;)<br><br>        # For each product we find, try to extract the details<br>        for item in items:<br>            try:<br>                name = item.find_element(By.CSS_SELECTOR, &quot;a.product-item-link&quot;).text.strip()  # Get the product name<br>                price = item.find_element(By.CSS_SELECTOR, &quot;span.price&quot;).text.strip()  # Get the price<br>                link = item.find_element(By.CSS_SELECTOR, &quot;a.product-item-link&quot;).get_attribute(&quot;href&quot;)  # Get the link<br>                products.append({  # Add this product’s details to our list<br>                    &quot;Product Name&quot;: name,<br>                    &quot;Price&quot;: price,<br>                    &quot;Link&quot;: link<br>                })<br>            except Exception as e:  # If something goes wrong (e.g., a product is missing info)<br>                print(&quot;Skipping item due to error:&quot;, e)  # Let us know, but keep going<br>    <br>    return products  # Return the full list of products we collected<br><br># Define the categories and their URLs that we want to scrape from<br>urls = [<br>    {&quot;phone&quot;: &quot;https://slot.ng/index.php/phones-and-tables.html&quot;},<br>    {&quot;computing&quot;: &quot;https://slot.ng/index.php/computing.html&quot;},<br>    {&quot;accessories&quot;: &quot;https://slot.ng/index.php/accessories.html&quot;}<br>]<br><br># Loop through each category and scrape data from it<br>for category_dict in urls:<br>    for key, url in category_dict.items():  # Get the category name and its URL<br>        products = scrape_slot_products(url, num_pages=3)  # Scrape data from up to 3 pages<br><br>        # Convert the data to a table (DataFrame) and save it as a CSV file<br>        df = pd.DataFrame(products)<br>        df.to_csv(f&quot;slot_{key}.csv&quot;, index=False)  # Name the file after the category<br>        print(f&quot;Data saved to slot_{key}.csv&quot;)  # Let us know the file has been saved<br><br># Close the browser when we&#39;re done to free up resources<br>driver.quit()</pre><p>The output:</p><p>This is an image of one of the files, the phones.csv file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b-xUl4T_D6sjix9jHmqnoQ.png" /></figure><h4>2. <strong>Generate Content Using OpenRouter</strong></h4><p>To bring the content to life, we use OpenRouter which is a free alternative to OpenAI’s API. OPenRouter was used to generate engaging LinkedIn posts for GadgetNest. OpenAI’s official API requires a paid subscription but OpenRouter allows access to several capable language models (like Mistral-7B) without a subscription.</p><p>The script below takes insights from competitors, like popular products and pricing trends and turns them into smart prompts. These prompts are sent to OpenRouter, where a language model responds with engaging content. The output are social media posts that spotlight what makes GadgetNest stand out in each category, all crafted automatically and ready to share.</p><pre>import pandas as pd  # For working with data in tables (like Excel)<br>import requests  # To send HTTP requests to the OpenRouter API<br>import datetime  # To get the current date and time for saving outputs<br><br># ==== CONFIGURATION ====<br>API_KEY = &quot;sk-or-v1-...&quot;  # Your OpenRouter API key (keep it secret!)<br>MODEL = &quot;mistralai/mistral-7b-instruct&quot;  # The AI model you&#39;re using to generate content<br>OUTPUT_FILE = &quot;generated_post.txt&quot;  # File where the final posts will be saved<br><br># ==== Load competitor data ====<br>phone_df = pd.read_csv(&#39;slot_phone.csv&#39;)  # Load phone data from CSV<br>accessories_df = pd.read_csv(&#39;slot_accessories.csv&#39;)  # Load accessories data<br>computing_df = pd.read_csv(&#39;slot_computing.csv&#39;)  # Load computing gadgets data<br><br># Helper function to pull out useful info from a product category<br>def extract_insights(df, category):<br>    df[&#39;Numeric Price&#39;] = df[&#39;Price&#39;].str.replace(&quot;NGN&quot;, &quot;&quot;).str.replace(&quot;,&quot;, &quot;&quot;).astype(float)  # Clean price column<br>    avg_price = round(df[&#39;Numeric Price&#39;].mean(), 2)  # Calculate average price<br>    num_products = len(df)  # Count how many products are in this category<br>    highest = df.sort_values(&#39;Numeric Price&#39;, ascending=False).iloc[0][&#39;Product Name&#39;]  # Find most expensive product<br>    return {<br>        &quot;category&quot;: category,  # Store the category name<br>        &quot;avg_price&quot;: avg_price,  # Store the average price<br>        &quot;num_products&quot;: num_products,  # Store product count<br>        &quot;most_expensive&quot;: highest  # Store most expensive product name<br>    }<br><br># Collect insights from all three product categories<br>insights = [<br>    extract_insights(phone_df, &quot;phones&quot;),<br>    extract_insights(accessories_df, &quot;accessories&quot;),<br>    extract_insights(computing_df, &quot;computing&quot;)<br>]<br><br># Function to send a prompt to OpenRouter and get a response<br>def generate_post(prompt):<br>    headers = {<br>        &quot;Authorization&quot;: f&quot;Bearer {API_KEY}&quot;,  # Include your API key in the request<br>        &quot;Content-Type&quot;: &quot;application/json&quot;  # Set content type to JSON<br>    }<br><br>    data = {<br>        &quot;model&quot;: MODEL,  # Specify the model to use<br>        &quot;messages&quot;: [<br>            {&quot;role&quot;: &quot;system&quot;, &quot;content&quot;: &quot;You are a social media content creator for a startup gadget company named GadgetNest.&quot;},  # Set the tone and context<br>            {&quot;role&quot;: &quot;user&quot;, &quot;content&quot;: prompt}  # Provide the actual prompt<br>        ]<br>    }<br><br>    print(&quot;Sending request to OpenRouter...&quot;)  # Inform the user something is happening<br>    response = requests.post(&quot;https://openrouter.ai/api/v1/chat/completions&quot;, headers=headers, json=data)  # Send request<br><br>    if response.status_code == 200:  # If request is successful<br>        reply = response.json()[&quot;choices&quot;][0][&quot;message&quot;][&quot;content&quot;]  # Extract generated content<br>        return reply<br>    else:  # If request fails, print error<br>        print(f&quot;❌ Failed to get response. Status Code: {response.status_code}&quot;)<br>        print(response.text)<br>        return None  # Return nothing if it fails<br><br># Loop through each insight, generate a post, and save it<br>with open(OUTPUT_FILE, &quot;w&quot;, encoding=&quot;utf-8&quot;) as f:  # Open output file for writing<br>    for insight in insights:  # Go through each product category<br>        # Create a prompt tailored to the specific product category<br>        prompt = (<br>            f&quot;Write a LinkedIn post showing how our startup gadget company GadgetNest can compete with Slot.ng &quot;<br>            f&quot;in the {insight[&#39;category&#39;]} category. They have {insight[&#39;num_products&#39;]} products with an &quot;<br>            f&quot;average price of ₦{insight[&#39;avg_price&#39;]}, and their most expensive item is &#39;{insight[&#39;most_expensive&#39;]}&#39;. &quot;<br>            f&quot;Highlight our affordability, unique offerings, or any market gaps we can fill.&quot;<br>        )<br>        <br>        post = generate_post(prompt)  # Send the prompt and get the generated post<br>        <br>        if post:  # If post was successfully generated<br>            timestamp = datetime.datetime.now().strftime(&quot;%Y%m%d_%H%M%S&quot;)  # Get timestamp<br>            f.write(f&quot;Category: {insight[&#39;category&#39;].capitalize()}\n&quot;)  # Write category<br>            f.write(f&quot;Prompt:\n{prompt}\n\n&quot;)  # Save the prompt used<br>            f.write(f&quot;Response:\n{post}\n\n&quot;)  # Save the AI-generated response<br>            f.write(f&quot;Generated on: {timestamp}\n\n&quot;)  # Save timestamp<br>            f.write(&quot;=&quot;*80 + &quot;\n&quot;)  # Add separator<br>            print(f&quot;\n✅ Post for {insight[&#39;category&#39;]} saved to &#39;{OUTPUT_FILE}&#39;\n&quot;)  # Confirm success in console<br>        else:  # If generation failed<br>            f.write(f&quot;Failed to generate post for {insight[&#39;category&#39;]}\n&quot;)  # Note failure in file<br>            print(f&quot;\n❌ Failed to generate post for {insight[&#39;category&#39;]}&quot;)  # Show error in console</pre><p>The output:</p><p>This is an excerpt of the generated posts</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*naJ-AHRGI7rEn_ieBkNAgA.png" /></figure><h4>3. Populate Google Sheets with the Generated Content</h4><p>After generating social media posts with OpenRouter, we push them to a shared Google Sheet for easy collaboration and scheduling. This step uses the gspread library to connect to Google Sheets via a service account. The code block for this is given below:</p><pre>import gspread<br>from oauth2client.service_account import ServiceAccountCredentials<br>import re<br><br># Step 1: Set up Google Sheets access<br># We&#39;re using a service account here to securely connect to Google Sheets. <br># Make sure you’ve downloaded the creds.json file from your Google Cloud project.<br>scope = [&quot;https://spreadsheets.google.com/feeds&quot;, &quot;https://www.googleapis.com/auth/drive&quot;]<br>creds = ServiceAccountCredentials.from_json_keyfile_name(&quot;creds.json&quot;, scope)<br>client = gspread.authorize(creds)  # Yay, we&#39;re in!<br><br># Step 2: Open our target sheet<br># This grabs the first worksheet in the spreadsheet titled &quot;Social Media Calendar&quot;.<br>sheet = client.open(&quot;Social Media Calendar&quot;).sheet1<br><br># Step 3: Load the generated posts from the .txt file<br># This file should contain your AI-generated posts in a consistent format.<br>with open(&quot;generated_post.txt&quot;, &quot;r&quot;, encoding=&quot;utf-8&quot;) as file:<br>    content = file.read()<br><br># Step 4: Break the text file into separate post blocks<br># Each post is separated by a line of 80 equal signs (========...), so we use that to split them.<br>post_blocks = content.strip().split(&quot;=&quot; * 80)<br><br># Step 5: Loop through each post and add it to the Google Sheet<br>for block in post_blocks:<br>    # First, we skip any empty lines or blocks — just in case the split leaves any gaps.<br>    if not block.strip():<br>        continue<br><br>    # Use regex to extract the key elements from each block: category, prompt, response, and date<br>    category_match = re.search(r&quot;Category:\s*(.+)&quot;, block)<br>    prompt_match = re.search(r&quot;Prompt:\s*(.*?)\nResponse:&quot;, block, re.DOTALL)<br>    response_match = re.search(r&quot;Response:\s*(.*?)\nGenerated on:&quot;, block, re.DOTALL)<br>    date_match = re.search(r&quot;Generated on:\s*(\d{8}_\d{6})&quot;, block)<br><br>    # If we successfully extracted all required parts, then we process the post<br>    if all([category_match, prompt_match, response_match, date_match]):<br>        category = category_match.group(1).strip()<br>        prompt = prompt_match.group(1).strip()<br>        response = response_match.group(1).strip()<br>        date = date_match.group(1).strip()<br><br>        # Format the date from something like 20250514_153030 → 2025-05-14 15:30:30<br>        # Makes it way more readable in the spreadsheet!<br>        formatted_date = f&quot;{date[:4]}-{date[4:6]}-{date[6:8]} {date[9:11]}:{date[11:13]}:{date[13:]}&quot;<br>        <br>        # Time to add the post to our sheet!<br>        # We’re placing: [Formatted Date, Category, Generated Response, and a default status &#39;Pending&#39;]<br>        sheet.append_row([formatted_date, category, response, &quot;Pending&quot;])</pre><p>This is excerpt of the content on google sheet</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AlmigIddVUWn2BljvEa_Tw.png" /></figure><h4>4. Automate Social media posting using Zapier</h4><p>To streamline my content publishing process, I used <a href="https://zapier.com/"><strong>Zapier</strong></a> to automatically post social media content from my Google Sheet to platforms like LinkedIn, Facebook, and Twitter. I created a Zap with Google Sheets as the trigger (new row added) and my chosen social media platform as the action (create post).</p><p>Each time a new post is added to the sheet (with columns like Date, Category, and Content), Zapier automatically publishes it to my connected accounts .</p><p>Useful links:</p><ul><li><a href="https://zapier.com/apps/google-sheets/integrations">Zapier Google Sheets Trigger Setup</a></li><li><a href="https://zapier.com/apps/categories/social-media">Zapier Social Media Actions</a></li></ul><p>I used my personal linkedIn as the action and it automatically posted the contents to my page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NO1RHT4tGmFgKomZPOq3Ng.png" /></figure><h4>5. Build a Monitoring Dashboard using Looker Studio</h4><p>To track and visualize the performance and scheduling of social media posts, I created a dynamic dashboard in <strong>Looker Studio</strong>, connected directly to my Google Sheet (“Social Media Calendar”). This allowed me to monitor post categories, statuses and trends over time.</p><h4>Helpful Links:</h4><ul><li><a href="https://support.google.com/looker-studio/answer/9053467?hl=en">Connect Google Sheets to Looker Studio</a></li><li><a href="https://support.google.com/looker-studio/answer/6311467">Looker Studio Chart Gallery</a></li><li><a href="https://lookerstudio.google.com/overview">Google Data Studio Overview</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8sVIWxaaUPIfaZUIy0U8Qg.png" /></figure><h3>Challenges and Considerations</h3><ul><li><strong>API Limits &amp; Auth</strong>: Each API (OpenAI, Buffer, Google) has its own rate limits and authentication.</li><li><strong>Posting Restrictions</strong>: Platforms like Instagram and Facebook may limit what bots can post.</li><li><strong>Cost</strong>: OpenAI tokens and Buffer Premium plans are not free.</li></ul><h3><strong>How to Extend or Deploy</strong></h3><ul><li>Set up scheduled runs using cron jobs or Google Cloud Functions so everything runs seamlessly in the background.</li><li>Add email notifications to alert us when a post fails or something goes wrong.</li><li>Integrate sentiment analysis to get insights into the emotional tone of the AI-generated posts.</li><li>Add a “Performance Tier” column to the google sheet whic will use formulas or scripts to label posts as High, Medium, or Low performing based on likes, comments, or shares.</li></ul><h3><strong>Final Thoughts</strong></h3><p>Building this end-to-end social media automation from content generation and scheduling to dashboard monitoring has been an incredibly rewarding journey. It is proof that with the right tools and a bit of ingenuity, small teams and startups can automate repetitive tasks, stay consistent with content and focus more on growth and storytelling.</p><p>If you are a startup looking to scale, or a team wanting to optimize your operations with automation, this is exactly the kind of powerful solution that will elevate your game.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9904a535801f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-epic/building-an-end-to-end-automated-social-media-strategy-using-python-apis-and-google-sheets-9904a535801f">Building an End-to-End Automated Social Media Strategy Using Python, APIs, and Google Sheets</a> was originally published in <a href="https://medium.com/data-epic">Data Epic</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building Extractify: A Streamlit-Powered OCR App for Effortless Text Extraction]]></title>
            <link>https://medium.com/@khadijahagboola12/building-extractify-a-streamlit-powered-ocr-app-for-effortless-text-extraction-266fad589666?source=rss-2cd9f988eca1------2</link>
            <guid isPermaLink="false">https://medium.com/p/266fad589666</guid>
            <dc:creator><![CDATA[Khadijat Agboola]]></dc:creator>
            <pubDate>Tue, 26 Nov 2024 09:32:38 GMT</pubDate>
            <atom:updated>2024-11-26T09:32:38.503Z</atom:updated>
            <content:encoded><![CDATA[<p>Have you ever had a PDF or an image with text that you wished you could copy? Imagine having a tool that instantly extracts the text for you, saving hours of manual transcription. Enter <strong>Extractify</strong>, my Streamlit-based OCR app that makes extracting text from images and PDFs a breeze.</p><h3>The Problem Statement</h3><p>“We need a developer to develop a tool that extracts text (OCR) from uploaded images, organizes and stores the extracted data, and provides a searchable management system.</p><p>Target Users: General users and small businesses.”</p><h3>The Solution: Extractify</h3><p>Extractify leverages Python libraries like OpenCV, EasyOCR, and pandas, wrapped in a user-friendly Streamlit interface. With this tool, you can upload images or PDFs, extract the text, and even export the results to Excel. It’s perfect for students, researchers, or anyone working with text data.</p><blockquote><strong><em>Try the app here</em></strong><em>: </em><a href="https://extractified.streamlit.app/"><em>Extractify</em></a><em><br></em><strong><em>Explore the code on GitHub</em></strong><em>: </em><a href="https://github.com/KhadijahAgboola/Extractify/blob/main/ocr_app.py"><em>Extractify Repository</em></a></blockquote><h3>The Development Journey</h3><p>Deploying Extractify to Streamlit Cloud wasn’t entirely smooth sailing. While the app worked flawlessly in my local development environment, I encountered a significant issue during deployment.</p><p>When I first deployed the app, it threw an error related to OpenCV’s dependency on libGL, a library required for image rendering. Without this dependency, the app couldn’t process images, leaving me stuck.</p><p>After some research, I learned that Streamlit Cloud allows you to install system-level dependencies by adding a packages.txt file to your project. This file lets you specify the required libraries, ensuring they are installed during the deployment process. By including the necessary dependency in this file, I was able to resolve the issue and get Extractify up and running smoothly.</p><p>This experience taught me the importance of understanding deployment environments and preparing for platform-specific requirements. It was a challenging but rewarding learning curve, and it’s a reminder that even the best local setups can face hiccups in production.</p><h3>What Makes Extractify Stand Out?</h3><ul><li><strong>Ease of Use</strong>: With a clean, intuitive interface, Extractify requires no technical expertise.</li><li><strong>Versatility</strong>: Supports both image and PDF uploads.</li><li><strong>Downloadable Outputs</strong>: Extracted text can be saved as an Excel file for further analysis.</li><li><strong>Accessible Online</strong>: No installations required — just visit the <a href="https://extractified.streamlit.app/">app</a>.</li></ul><h3>Room for Improvement</h3><p>Extractify is still a work in progress. Some enhancements I’m actively working on include:</p><ul><li>Improving the OCR accuracy for non-standard fonts and layouts.</li><li>Adding support for more languages and file formats.</li><li>Providing bulk upload functionality for large-scale text extraction tasks.</li></ul><p>Feel free to check out the <a href="https://github.com/KhadijahAgboola/Extractify/blob/main/ocr_app.py">GitHub repository</a> and contribute!</p><h3>Conclusion</h3><p>Building Extractify has been a rewarding journey, turning an everyday frustration into a simple yet powerful tool. The app is live and ready to use, but there’s always room to grow. Whether you’re extracting text for research, business, or personal projects, Extractify aims to make your workflow faster and easier.</p><p>Got feedback or suggestions? I’d love to hear from you! Let’s make Extractify even better — together. You can reach me on <a href="https://www.linkedin.com/in/khadijatagboola/">linkedIn</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=266fad589666" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From Problem to Solution: Building a Personalized Skincare Recommendation System]]></title>
            <link>https://medium.com/@khadijahagboola12/from-problem-to-solution-building-a-personalized-skincare-recommendation-system-d6b73bf4e74e?source=rss-2cd9f988eca1------2</link>
            <guid isPermaLink="false">https://medium.com/p/d6b73bf4e74e</guid>
            <dc:creator><![CDATA[Khadijat Agboola]]></dc:creator>
            <pubDate>Mon, 18 Nov 2024 08:41:49 GMT</pubDate>
            <atom:updated>2024-11-18T22:03:54.580Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/251/1*_Y7QMyIbieLCmsCU2M71UA.jpeg" /></figure><p>As a machine learning enthusiast, I often seek challenges that allow me to combine data science with real-world applications. Recently, I stumbled upon a problem statement on a platform:</p><blockquote>“We are a personalized skincare brand looking for someone skilled in Typeform and recommendation algorithms to create user-friendly surveys and build algorithms for personalized product suggestions.”</blockquote><p>Intrigued, I set out to solve this problem. This blog documents my journey, from understanding the challenge to building a solution that bridges technology and skincare.</p><h4>The Problem: Personalized Recommendations at Scale</h4><p>The goal was to create a system that could provide tailored skincare product suggestions. The challenge lay in the lack of user feedback — critical for techniques like Collaborative Filtering. Instead, I needed to rely on <strong>user attributes</strong> (e.g., age, skin type, concerns) to build a <strong>Content-Based Filtering</strong> model.</p><p>Additionally, I had to design a seamless way to collect this data, ensuring an easy and engaging user experience.</p><h4>The Solution: Breaking It Down</h4><p>I approached the problem in two main steps:</p><ol><li><strong>Data Collection with Typeform</strong><br>To gather user information, I designed a <strong>Typeform survey</strong> that captures: <strong>Demographics</strong>: Age group, gender.</li></ol><ul><li><strong>Skin Profile</strong>: Skin type (oily, dry, combination), concerns (acne, wrinkles, sensitivity).</li><li><strong>Preferences and History</strong>: Allergies, product satisfaction</li></ul><p>You can view the Typeform survey <a href="https://oroni7j6an3.typeform.com/to/MJ6DKbTd">here</a>.</p><p>The survey’s user-friendly design ensures high-quality data collection while keeping users engaged.</p><p><strong>2. Building the Recommendation Model</strong><br>Using the collected data, I developed a <strong>Content-Based Filtering</strong> recommendation system. Here’s how:</p><ul><li><strong>Input</strong>: User attributes (age group, skin type, concerns).</li><li><strong>Logic</strong>: The algorithm analyzes the provided features to identify the most suitable products.</li><li><strong>Output</strong>: Personalized product recommendations tailored to the user’s profile.</li></ul><p>This approach bypasses the need for user feedback, making it ideal for a new system with no historical data.</p><p>Check the link to the google colab notebook <a href="https://colab.research.google.com/drive/11hWhHTpMPv6tyWjcxn7hkvQS_Aj5_66k?usp=sharing">here.</a></p><p>You can check the github repository <a href="https://github.com/KhadijahAgboola/https---github.com-KhadijahAgboola-Dermaguide">here.</a></p><p>The model is deployed <a href="https://desolate-depths-89526-2cfb645d7aa9.herokuapp.com/">here</a></p><h4>Technical Highlights</h4><ol><li><strong>Data Handling</strong>: Cleaned and encoded the dataset for efficient processing.</li><li><strong>Algorithm Design</strong>: Leveraged similarity metrics to match users with products.</li><li><strong>Implementation</strong>: Built a Python-based model integrated with Typeform inputs.</li></ol><h4>The Impact</h4><p>This solution has several advantages:</p><ul><li><strong>User-Centric Experience</strong>: A guided journey where users feel understood.</li><li><strong>Scalable Personalization</strong>: The model grows more accurate as more users join the platform.</li><li><strong>Brand Differentiation</strong>: Offering personalized recommendations sets the brand apart in a competitive market.</li></ul><h4>Reflections and Learnings</h4><p>This project taught me valuable lessons:</p><ul><li>The importance of <strong>domain knowledge</strong> when building practical solutions. Understanding skincare concerns and terms was crucial to designing meaningful inputs.</li><li>The flexibility of <strong>Content-Based Filtering</strong> in scenarios where feedback is unavailable.</li><li>The power of <strong>Typeform</strong> as a data collection tool for streamlined, user-friendly input.</li></ul><h4>What’s Next?</h4><p>As the system evolves, future iterations could include:</p><ul><li><strong>Collaborative Filtering</strong> once sufficient user feedback is collected.</li><li>Advanced machine learning techniques like <strong>Natural Language Processing (NLP)</strong> to analyze product reviews.</li><li>Incorporating external datasets for richer insights into skincare trends.</li></ul><h4>Closing Thoughts</h4><p>This project reinforced my belief that the intersection of data science and real-world applications is limitless. By combining simple tools like Typeform with machine learning, I was able to provide a robust solution to a real-world problem.</p><p>If you’re curious about personalized recommendation systems or want to collaborate on similar projects, feel free to reach out.</p><p>My email: khadijahagboola12@gmail.com</p><p>linkedin: <a href="https://www.linkedin.com/in/khadijatagboola/">https://www.linkedin.com/in/khadijatagboola/</a></p><p>Let’s continue solving exciting problems together.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d6b73bf4e74e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building Model to predict Liver disease.]]></title>
            <link>https://medium.com/@khadijahagboola12/building-model-to-predict-liver-disease-dc97dd1c6406?source=rss-2cd9f988eca1------2</link>
            <guid isPermaLink="false">https://medium.com/p/dc97dd1c6406</guid>
            <dc:creator><![CDATA[Khadijat Agboola]]></dc:creator>
            <pubDate>Sun, 10 Nov 2024 22:48:37 GMT</pubDate>
            <atom:updated>2024-11-10T22:50:40.199Z</atom:updated>
            <content:encoded><![CDATA[<p>You know that quote, <em>“an apple a day keeps the doctor away?”</em> Well, I’m tweaking it. Here’s my version: <em>“A model a week makes Khadijah an ML/AI expert”</em></p><p>I’ve decided to start providing solutions to client problems on Upwork, recording my journey along the way. One day, when I’ve reached my goal, I want to look back and see how far I’ve come. Plus, this process will help me develop the expertise I aim for.</p><p>So today, I’m tackling this client problem:</p><p><em>“We are looking for an expert in data analysis and machine learning to develop predictive models aimed at diagnosing and forecasting the progression of liver disease. This project is based on retrospective data from three major hospitals and seeks to provide a non-invasive alternative to current diagnostic methods.”</em></p><p>I found a liver disease dataset on Kaggle, cleaned the data, and performed exploratory data analysis. The target variable is labeled “Dataset,” with <em>1</em> indicating the presence of disease and <em>2</em> indicating no disease. I trained the dataset on seven selected models, comparing performance across each.</p><p>In the end, I built an ensemble model combining predictions of the best three models to predict liver disease, excited to see where this project and journey take me next.</p><p>This is the link to my code <a href="https://colab.research.google.com/drive/1endvwiJY-JKm15Vc3pbKL_jGXO76C3St?usp=sharing">https://colab.research.google.com/drive/1endvwiJY-JKm15Vc3pbKL_jGXO76C3St?usp=sharing</a></p><p>And this is the link to my explanation to the solution <a href="https://www.loom.com/share/67616af8ac11465bbfae60f97ddb588c?sid=bc2de358-4850-4974-bbbb-28d3283346c4">https://www.loom.com/share/67616af8ac11465bbfae60f97ddb588c?sid=bc2de358-4850-4974-bbbb-28d3283346c4</a></p><p>See you next week when I would be providing solution to another problem.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dc97dd1c6406" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Global Holiday Planner: Seamlessly Transforming Dreams into Real-Time Travel Adventures]]></title>
            <link>https://medium.com/@khadijahagboola12/global-holiday-planner-seamlessly-transforming-dreams-into-real-time-travel-adventures-dedee2ab11cc?source=rss-2cd9f988eca1------2</link>
            <guid isPermaLink="false">https://medium.com/p/dedee2ab11cc</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Khadijat Agboola]]></dc:creator>
            <pubDate>Sat, 13 Jan 2024 06:39:22 GMT</pubDate>
            <atom:updated>2024-01-13T06:39:22.273Z</atom:updated>
            <content:encoded><![CDATA[<p>During the last Christmas holiday, we were given a project by our instructor to apply our knowledge of python and APIs to a scenario of our choice. My team and I after thorough research settled with this project.</p><p><strong>Overview of the project</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/118/1*9A8lTsGdp8RRFKwWv4jHeQ@2x.jpeg" /></figure><p>In a world increasingly interconnected, the desire to explore new international destinations has never been greater.</p><p>The “Global Holiday Planner” is an innovative tool that transforms travel dreams into reality. Combining data analysis, user input processing, and real-time currency conversion, the project leverages two dynamic APIs for comprehensive country information and exchange rates. Users enjoy a seamless experience, inputting their destination, exploring details, and expressing preferences for a personalized adventure. The magic happens as the tool dynamically showcases real-time exchange rates based on the user’s budget in USD, empowering informed decisions. What sets this project apart is its seamless integration of data, presenting a user-friendly interface that simplifies decision-making with real-time financial considerations. The result of dedicated teamwork, the “Global Holiday Planner” is more than a project; it’s a gateway to personalized international adventures for both seasoned and first-time travelers.</p><p><strong>Tech used for the project:</strong></p><ul><li>Python</li><li>API Integration</li><li>User Interface (UI) Development</li><li>Data Analysis</li><li>Real-Time Currency conversion</li></ul><p><strong>The link to the project</strong></p><p>The project was hosted on GitHub and this is the link <a href="https://github.com/Oluwatobioguntolu/Group-8-Python-Console-Application">https://github.com/Oluwatobioguntolu/Group-8-Python-Console-Application</a></p><p><em>Thanks for reading my first article</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1un8A0CPVWusBx8EDEMwNA@2x.jpeg" /><figcaption>Photo by Courtney Hedger on Unsplash</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dedee2ab11cc" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>