Jekaterina commited on
Commit
f8a500e
·
verified ·
1 Parent(s): f47759b

Update tools/text_to_image.py

Browse files
Files changed (1) hide show
  1. 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 = "black-forest-labs/FLUX.1-schnell"
12
- client = InferenceClient(model, token = os.getenv("HF_API_KEY"))
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):