Coder Social home page Coder Social logo

exaluc / ime Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 59 KB

Extract and view the embedded metadata from images. Get detailed insights on EXIF, IPTC, or XMP data in seconds

Home Page: https://exaluc.github.io/ime

License: MIT License

JavaScript 89.52% CSS 10.48%
exif iptc metadata sdxl stable-diffusion stable-diffusion-webui xmp

ime's Introduction

Hi there ๐Ÿ‘‹

def work_life_balance(task: str, mood: str = 'neutral') -> str:
    """
    A function to balance work and fun.
    
    Args:
    - task (str): The task to execute.
    - mood (str): Your current mood. Default is 'neutral'.

    Returns:
    - str: A fun yet professional message.
    """
    fun_emojis = {
        'happy': '๐Ÿ˜„',
        'neutral': '๐Ÿ˜',
        'sad': '๐Ÿ˜ž'
    }

    professional_advice = {
        'happy': "Great! But don't forget your responsibilities.",
        'neutral': "Stay balanced, don't overwork or overplay.",
        'sad': "Maybe take a short break and come back stronger."
    }

    if mood not in fun_emojis:
        return "Invalid mood! Please choose between 'happy', 'neutral', or 'sad'."

    return (f"Task to complete: {task} {fun_emojis[mood]}. "
            f"Advice: {professional_advice[mood]}")

# Example usage:
message = work_life_balance("Complete Python project", "happy")
print(message)

ime's People

Contributors

exaluc avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.