m-ric HF staff commited on
Commit
e147359
1 Parent(s): abc9c73

Update text_to_image.py

Browse files
Files changed (1) hide show
  1. text_to_image.py +1 -1
text_to_image.py CHANGED
@@ -1,5 +1,5 @@
1
  from PIL import Image
2
- from transformers.tools.base import Tool
3
  from transformers.utils import is_accelerate_available
4
  import torch
5
 
 
1
  from PIL import Image
2
+ from transformers.agents.tools import Tool
3
  from transformers.utils import is_accelerate_available
4
  import torch
5