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

update comments

Browse files

still some requirements to use transformers library methods for some functionality - transition to smolagents seems incomplete.

huggingface_spaces_tool_template.md CHANGED
@@ -3,6 +3,7 @@
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
 
7
  ### File: README.md
8
  - Type: txt
@@ -37,6 +38,7 @@ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-
37
 
38
  #### Content:
39
  ```
 
40
  from transformers import launch_gradio_demo
41
  from tool import TextToImageTool
42
 
 
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
 
38
 
39
  #### Content:
40
  ```
41
+ # the launch_gradio_demo import should likely be from smolagents
42
  from transformers import launch_gradio_demo
43
  from tool import TextToImageTool
44