Skip to content

Commit

Permalink
update example requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
mansouralawi committed Jan 10, 2025
1 parent bdc9220 commit 2a6f496
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/run-workflow-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ jobs:
- name: Install openai component library
run: xircuits install openai

- name: Additional Example Requirement
run: pip install torch==2.4.1 torchvision==0.19.1

- name: Set Environment Variables
run: |
LIBRARY_NAME=$(echo "${GITHUB_REPOSITORY##*/}" | sed 's/-/_/g')
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,11 @@ Check out the `msg_trigger.xircuits` workflow. This example listens for keywords

Explore the `image_prediction.xircuits` workflow. In this example, the bot watches for attached images in conversations and responds with the predicted class when a trigger message is detected.

Additional Example Requirement:
```
pip install torch==2.4.1 torchvision==0.19.1
```

### OpenAI Image Generation

Take a look at the `slack_openai.xircuits` workflow. This example leverages components from the [OpenAI Component Library](https://github.com/XpressAI/xai-openai). The bot enables each Slack thread to have unique and contextual image creation and editing using the OpenAI models.
Expand Down

0 comments on commit 2a6f496

Please sign in to comment.