dwb2023 commited on
Commit
db1d11f
·
verified ·
1 Parent(s): 3831aa7

update notes on reusable tools

Browse files
huggingface_spaces_tool_template.md CHANGED
@@ -1,9 +1,13 @@
1
  # Hugging Face Spaces Tool Template for Agents
2
 
3
  - a quick tribute to [Aymeric](https://huggingface.co/m-ric) for this simple but effective exapmle of how to build and serve agents using Hugging Face spaces
4
- - check out the documentation here for more information on the transformers implementation of the [Agent Class](https://huggingface.co/docs/transformers/main_classes/agent)
5
- - capturing the entire repo so that the overall structure and content of the repo is clear
6
  - the one thing I've noticed with some of the reusable tools created by the HF team is that they appear to still use a number of potentially older transformer libraries
 
 
 
 
 
 
7
 
8
  ### File: README.md
9
  - Type: txt
 
1
  # Hugging Face Spaces Tool Template for Agents
2
 
3
  - a quick tribute to [Aymeric](https://huggingface.co/m-ric) for this simple but effective exapmle of how to build and serve agents using Hugging Face spaces
 
 
4
  - the one thing I've noticed with some of the reusable tools created by the HF team is that they appear to still use a number of potentially older transformer libraries
5
+ - just be aware that there are differences between the [smolagents](https://huggingface.co/docs/smolagents/main/en/reference/tools#smolagents.launch_gradio_demo) and [transformers](https://huggingface.co/docs/transformers/v4.48.0/en/main_classes/agent#transformers.launch_gradio_demo) implementations for some of these methods and you'll be fine
6
+
7
+ ## [m-ric/text-to-image repo](https://huggingface.co/spaces/m-ric/text-to-image)
8
+
9
+ - the structure and content below in an effort to understand the requirements to publish and launch a reusable tool
10
+ - refer to the comment under app.py for where the older transformers import is still used
11
 
12
  ### File: README.md
13
  - Type: txt