diff --git a/README.ipynb b/README.ipynb index 4bf2be8..f97d579 100644 --- a/README.ipynb +++ b/README.ipynb @@ -24,7 +24,7 @@ "`pip install make_agents`\n", " \n", "
\n", - " \n", + " \n", "
\n", "\n", "# MakeAgents \n", @@ -44,6 +44,11 @@ "\n", "## Examples\n", "\n", + "Video of an example agent in action:\n", + "\n", + "\n", + "\n", "### Example 1: A conversational agent tasked with getting the user's name" ] }, diff --git a/README.md b/README.md index eb6ec12..6eb964d 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ limitations under the License. --> `pip install make_agents`- +
# MakeAgents @@ -38,6 +38,11 @@ Currently supports OpenAI's GPT chat models out of the box. ## Examples +Video of an example agent in action: + + + ### Example 1: A conversational agent tasked with getting the user's name diff --git a/scripts/replace_readme_image_links.py b/scripts/replace_readme_image_links.py index 199d5d0..49750cc 100644 --- a/scripts/replace_readme_image_links.py +++ b/scripts/replace_readme_image_links.py @@ -7,14 +7,16 @@ GITHUB_PATH = "sradc/MakeAgents/main" with open(FILE_PATH, "r") as file: - data = file.read() + text = file.read() # Find links referencing README_files/ and replace them with absolute links pattern = r"(README_files/.*\.(png|jpg))" replacement = r"https://raw.githubusercontent.com/" + GITHUB_PATH + r"/\1" + text = re.sub(pattern, replacement, text) - # Substitute the pattern with the replacement - new_data = re.sub(pattern, replacement, data) + pattern = r"(static/.*\.(png|jpg))" + replacement = r"https://raw.githubusercontent.com/" + GITHUB_PATH + r"/\1" + text = re.sub(pattern, replacement, text) with open(FILE_PATH, "w") as file: - file.write(new_data) + file.write(text) diff --git a/README_files/make_agents_logo.jpg b/static/make_agents_logo.jpg similarity index 100% rename from README_files/make_agents_logo.jpg rename to static/make_agents_logo.jpg