Spaces:
Build error
Build error
Dmitry Trifonov commited on
Commit ·
411fbd1
1
Parent(s): 5048eb4
update Docker image
Browse files
fair.py
CHANGED
|
@@ -21,7 +21,7 @@ TARGET_NODE = "119eccba-2388-43c1-bdb9-02133049604c"
|
|
| 21 |
# ENDPOINT_ADDRESS = "http://localhost:5000"
|
| 22 |
# TARGET_NODE = None
|
| 23 |
|
| 24 |
-
DOCKER_IMAGE = "faircompute/diffusion-octo:
|
| 25 |
|
| 26 |
|
| 27 |
class FairApiClient:
|
|
@@ -195,5 +195,5 @@ def text_to_image(text):
|
|
| 195 |
|
| 196 |
|
| 197 |
if __name__ == "__main__":
|
| 198 |
-
image = text_to_image(text="Robot
|
| 199 |
image.save("result.png")
|
|
|
|
| 21 |
# ENDPOINT_ADDRESS = "http://localhost:5000"
|
| 22 |
# TARGET_NODE = None
|
| 23 |
|
| 24 |
+
DOCKER_IMAGE = "faircompute/diffusion-octo:v1"
|
| 25 |
|
| 26 |
|
| 27 |
class FairApiClient:
|
|
|
|
| 195 |
|
| 196 |
|
| 197 |
if __name__ == "__main__":
|
| 198 |
+
image = text_to_image(text="Robot dinosaur\n")
|
| 199 |
image.save("result.png")
|