Update tools/text_to_image.py
Browse files- tools/text_to_image.py +2 -2
tools/text_to_image.py
CHANGED
@@ -8,8 +8,8 @@ class TextToImageTool(Tool):
|
|
8 |
name = "image_generator"
|
9 |
inputs = {"prompt": {"type": "string", "description": "The image generator prompt. Don't hesitate to add details in the prompt to make the image look better, like 'high-res, photorealistic', etc."}}
|
10 |
output_type = "image"
|
11 |
-
model = "
|
12 |
-
client = InferenceClient(model
|
13 |
|
14 |
|
15 |
def forward(self, prompt):
|
|
|
8 |
name = "image_generator"
|
9 |
inputs = {"prompt": {"type": "string", "description": "The image generator prompt. Don't hesitate to add details in the prompt to make the image look better, like 'high-res, photorealistic', etc."}}
|
10 |
output_type = "image"
|
11 |
+
model = "prithivMLmods/SD3.5-Turbo-Realism-2.0-LoRA"
|
12 |
+
client = InferenceClient(model)
|
13 |
|
14 |
|
15 |
def forward(self, prompt):
|