Spaces:
Runtime error
Runtime error
Update text_to_image.py
Browse files- text_to_image.py +1 -1
text_to_image.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
from PIL import Image
|
2 |
-
from transformers.tools
|
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 |
|