Spaces:
Runtime error
Runtime error
Update README.md
Browse files
README.md
CHANGED
|
@@ -21,12 +21,10 @@ short_description: Personalized Greeting & Timezone Clock
|
|
| 21 |
|
| 22 |
This application allows users to create personalized greeting messages and check the current local time in any global timezone.
|
| 23 |
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
In short, smolagents is a library that focuses on codeAgent, a kind of agent that performs “Actions” through code blocks, and then “Observes” results by executing the code.
|
| 29 |
-
The agent inside smolagents is going to think, act and observe in cycle until it reaches a final answer:
|
| 30 |
|
| 31 |
|
| 32 |
> 🧑🏫 This app is part of the **Hugging Face Courses** series and was developed as an educational project to showcase how machine learning
|
|
@@ -42,10 +40,10 @@ The agent inside smolagents is going to think, act and observe in cycle until it
|
|
| 42 |
gradio_greet_time_app/
|
| 43 |
│
|
| 44 |
├── app.py # Main launcher script that initializes and runs the Gradio app.
|
| 45 |
-
├── agent.json # JSON config for defining tools
|
| 46 |
├── Gradio_UI.py # Contains the Gradio Blocks interface layout and connects UI to the tools.
|
| 47 |
-
├── screenshot.jpeg # Sample preview for the use of the app
|
| 48 |
-
├── prompt_config.yaml # Prompt configurations for examples
|
| 49 |
├── .env.template # Environment variables template /Template file showing expected environment variables (e.g., API keys).
|
| 50 |
├── requirements.txt # Python dependencies / List of Python dependencies to install
|
| 51 |
└── README.md # Project overview, setup instructions, usage examples, and screenshot link.
|
|
@@ -72,7 +70,7 @@ behavior. Storing prompts in a YAML file allows for easy customization and reuse
|
|
| 72 |
|
| 73 |
### Preview
|
| 74 |
|
| 75 |
-
[First Agent Template](Screenshot_15-5-2025_154725_huggingface.co.jpeg)
|
| 76 |
|
| 77 |
|
| 78 |
---
|
|
|
|
| 21 |
|
| 22 |
This application allows users to create personalized greeting messages and check the current local time in any global timezone.
|
| 23 |
|
| 24 |
+
An Agent from scratch using Python code has been created. Besides, to develop this Agent, smolagents has been used. In short, smolagents
|
| 25 |
+
is a library that focuses on codeAgent, a kind of agent that performs “Actions” through code blocks, and then “Observes” results by executing
|
| 26 |
+
the code. The agent inside smolagents is going to think, act and observe in cycle until it reaches a final answer. This Agent is capable of
|
| 27 |
+
performing actions such as time creating personalized greeting messages and zone checki h using Python code,
|
|
|
|
|
|
|
| 28 |
|
| 29 |
|
| 30 |
> 🧑🏫 This app is part of the **Hugging Face Courses** series and was developed as an educational project to showcase how machine learning
|
|
|
|
| 40 |
gradio_greet_time_app/
|
| 41 |
│
|
| 42 |
├── app.py # Main launcher script that initializes and runs the Gradio app.
|
| 43 |
+
├── agent.json # JSON config for defining tools used by the agent.
|
| 44 |
├── Gradio_UI.py # Contains the Gradio Blocks interface layout and connects UI to the tools.
|
| 45 |
+
├── screenshot.jpeg # Sample preview for the use of the app (used in README)
|
| 46 |
+
├── prompt_config.yaml # Prompt configurations for examples
|
| 47 |
├── .env.template # Environment variables template /Template file showing expected environment variables (e.g., API keys).
|
| 48 |
├── requirements.txt # Python dependencies / List of Python dependencies to install
|
| 49 |
└── README.md # Project overview, setup instructions, usage examples, and screenshot link.
|
|
|
|
| 70 |
|
| 71 |
### Preview
|
| 72 |
|
| 73 |
+
Examples of prompts for the use of the app can be found on [First Agent Template](Screenshot_15-5-2025_154725_huggingface.co.jpeg)
|
| 74 |
|
| 75 |
|
| 76 |
---
|