Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
marlenezw authored Aug 5, 2024
1 parent 26ceb08 commit 5a8e896
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,9 @@ To test the sample:
```
flask --debug --app api.app:app run --port 8080
```

**Note**: If you are running in Codespaces, you will need to change the visibility of the API's 8080 port to `public` in your VS Code terminal's `PORTS` tab. The ports tab should look like this:
<img src="./images/ports.png" alt="Screenshot showing setting port-visibility" width="800px" />

If you open the server link in a browser, you will see a URL not found error, this is because we haven't created a home url route in flask. We have instead created a `/get_article` route which is used to pass context and instructions directly to the get_article.py file which runs the agent workflow.
Expand All @@ -209,9 +212,6 @@ To test the sample:
```
npm run dev
```
**Note**: If you run in Codespaces, you will have to change the visibility of the API's 8080 port to `public` in your VS Code terminal's `PORTS` tab. The ports tab should look like this:
<img src="./images/ports.png" alt="Screenshot showing setting port-visibility" width="800px" />
This will launch the app, where you can use example context and instructions to get started.
On the 'Creative Team' page you can examine the output of each agent by clicking on it. The app should look like this:
Expand Down

0 comments on commit 5a8e896

Please sign in to comment.