Amna-Hassan04 / Serenity-Guide

SereniFi Guide is a personalized relaxation app offering meditations, breathing exercises, and calming music to help users achieve mental tranquility.
https://serenify.streamlit.app/
Other
33 stars 91 forks source link

Refactor anxiety_management_guide Function for Improved Usability #11

Open ananyakaligal opened 1 month ago

ananyakaligal commented 1 month ago

By refactoring the anxiety_management_guide function to return values instead of printing them directly, we can improve its reusability, testability, and flexibility. This change will also facilitate integration into larger applications that may require processing the output programmatically.

please assign this to me under gssoc ext'24 and hacktober

diva711 commented 1 month ago

i want to work on this issue.

Amna-Hassan04 commented 1 month ago

@ananyakaligal assigned the task to you, please do call the function and print the data on screen in code also if you change the function to just return a value and attach a screenshot of the task completed when you submit the pull request.

Amna-Hassan04 commented 1 month ago

@diva711 tasks are assigned on a first come first served basis. plz ask to be assigned another task that somebody else hasnt picked already.

ananyakaligal commented 1 month ago

@Amna-Hassan04 hey, instead of refactoring just that function, how about i refactor the entire code by organizing it into multiple files. This will help in managing the codebase more effectively as we scale the application.

anxiety_management_app/ │ ├── app.py # Main entry point for the Streamlit app ├── components.py # Contains reusable components and functions ├── api.py # Handles API calls (ClaudeAI) ├── data.py # Handles data-related functions └── utils.py # Contains utility functions (if needed)