diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml new file mode 100644 index 0000000..806b00b --- /dev/null +++ b/.github/workflows/greetings.yml @@ -0,0 +1,33 @@ +name: Greetings + +on: + [pull_request_target, issues] + +jobs: + greeting: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + - uses: actions/first-interaction@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + issue-message: | + 👋 Thank you! Welcome to the project! Please follow these guidelines for smooth collaboration: + 1. After completing a task, add your name and details to the Contributors Table/List. + 2. Attach relevant screenshots or videos of your contribution for transparency. + 3. Tasks are assigned on a first-come, first-served basis. + - Avoid spamming requests for already-assigned tasks. + - Respect the queue and wait for new tasks. + 4. **Propose New Ideas**: Discuss new features or suggestions in the "Ideas" channel before starting work. + pr-message: | + 🎉 Thank you for your contribution! Your pull request has been submitted successfully. A maintainer will review it as soon as possible. We appreciate your support in making this project better. + + Please follow these guidelines for smooth collaboration: + 1. After completing a task, add your name and details to the Contributors Table/List. + 2. Attach relevant screenshots or videos of your contribution for transparency. + 3. Tasks are assigned on a first-come, first-served basis. + - Avoid spamming requests for already-assigned tasks. + - Respect the queue and wait for new tasks. + 4. **Propose New Ideas**: Discuss new features or suggestions in the "Ideas" channel before starting work. diff --git a/README.md b/README.md index 0a076e8..10f7803 100644 --- a/README.md +++ b/README.md @@ -61,9 +61,11 @@ To set up SereniFi on your local machine, follow these steps: ## 🌟 Contributors -| ![Amna Hassan](https://avatars.githubusercontent.com/Amna-Hassan04?s=50) | ![Anushka Pote](https://avatars.githubusercontent.com/Anushka-Pote?s=50) | ![K. Madhuri](https://avatars.githubusercontent.com/pearll12?s=50) | ![Pearl V](https://avatars.githubusercontent.com/madhurik04?s=50) | +| ![Amna Hassan](https://avatars.githubusercontent.com/Amna-Hassan04?s=50) | ![Anushka Pote](https://avatars.githubusercontent.com/Anushka-Pote?s=50) | ![K. Madhuri](https://avatars.githubusercontent.com/pearll12?s=50) | ![Pearl V](https://avatars.githubusercontent.com/madhurik04?s=50) | ![Kiran Baliga](https://avatars.githubusercontent.com/KiranBaliga?s=50) | + |:--:|:--:|:--:|:--:| | [Amna Hassan](https://github.com/Amna-Hassan04) | [Anushka Pote](https://github.com/username2) | [K. Madhuri](https://github.com/username3) | [Pearl V](https://github.com/username4) | +[Kiran Baliga](https://github.com/KiranBaliga) --- diff --git a/app.py b/app.py index 46f2fb9..bdc72a3 100644 --- a/app.py +++ b/app.py @@ -5,14 +5,18 @@ import requests, random from streamlit_lottie import st_lottie from streamlit_option_menu import option_menu - +import os +from dotenv import load_dotenv #AI Integration import anthropic -# Retrieve API key from Hugging Face secrets -claude_api_key = "api-key" +#Changes made by --Charvi Arora +#Added security +# Load environment variables from .env file +load_dotenv() +# Retrieve the API key +claude_api_key = os.getenv("CLAUDE_API_KEY") -# Initialize ClaudeAI client client = anthropic.Client(api_key=claude_api_key) def anxiety_management_guide(mood, feeling_description, current_stress_level, recent_events):