import gradio as gr ### ### ### Music ### ### ### INSTRUCTIONS = """ ### 💿 Basic 💿 - **Specific Song:** Play Passionfruit | Play CRAZY by AXL - **Controls:** Queue | Pause | Resume | Skip - **More Info:** Explain this song - **Album:** Play album Utopia | Play album Atlantis by Lilah - **Playlist:** Play my Late Night Drive playlist ### 💿 Personalized 💿 - **Genre:** I'm happy, play country | Play energetic pop - **Artist:** Play Migos hype songs | I'm sad, play Rihanna - **Recommendations:** Recommend songs off my love for Drake + r&b - **Create Playlist:** Make me a relaxing playlist of SZA-like songs """ # TODO add an image in the greeting GREETING = """ Hi, I'm Apollo 🤖, here to assist you with **all** your musical desires! ✨ Type **!help** to view commands ✨ For a more personalized experience, **tell me your mood**, or what you're doing 🔮 """ CHAT_HEADER = """

🔮 Apollo, Your AI Music Assistant 🔮


Experience personalized, intelligent music interaction

🎧 Get Started 🎧

Connect your Spotify

Type !help for list of commands

Or see the dropdown below

Feedback is much appreciated

🌟 Main Features 🌟

Chat directly with Apollo

Apollo uses your mood & preferences

Unsure? Apollo suggests

Mood shift? Apollo adapts

Blog | GitHub | Website | Cool Demo | Tutorial
""" WARNING = """
I really want to play music for you, but please authenticate your Spotify first
""" # THEME = gr.themes.Soft(primary_hue="red").set( # body_background_fill="#F1F4F9", # block_border_width="3px", # ) ### ### ### Authorization ### ### ### AUTH_HEADER = """

Local Installation

See the dropdown below

🔓 How to Authenticate 🔓

1. Go to Spotify Developer
2. 'Login' to your account, then go to Dashboard
3. 'Create app'
  â€¢ Put anything for name and description
  â€¢ For 'Redirect URI', put www.jonaswaller.com
4. Go to your app 'Settings' and copy the 'Client ID'

Don't have Spotify?

See the dropdown below

""" DISCLAIMER = """ We utilize Spotify's Implicit Grant Flow which operates entirely client-side, eliminating the need for server-side code and storage. Apollo has limited permissions - we cannot delete or edit any existing content in your Spotify account; access is strictly confined to adding new, curated playlists for you. If multiple users are on Apollo simultaneously, each user is confined to their own isolated session, preventing any cross-access to your Spotify account. Your data is exclusively used for real-time music curation during your active session. """ LOCAL_INSTALL = """ Coming soon """ NEED_SPOTIFY = """ Want to test out Apollo, but don't have Spotify Premium? Email me for a free (testing) account. stuart.j.waller@vanderbilt.edu """ ### ### ### Feedback ### ### ### FEED_HEADER = """

Thank You!

Your feedback helps improve Apollo
Or email me stuart.j.waller@vanderbilt.edu

"""