Skip to content

Commit

Permalink
Merge branch 'Amna-Hassan04:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Himanshi-m authored Oct 2, 2024
2 parents 0321466 + f41fb1f commit 9835008
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 5 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
@@ -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.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

---

Expand Down
12 changes: 8 additions & 4 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 9835008

Please sign in to comment.