Jekaterina commited on
Commit
e9a485d
·
verified ·
1 Parent(s): d462874

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
@@ -7,8 +7,8 @@ class TextToImageTool(Tool):
7
  name = "image_generator"
8
  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."}}
9
  output_type = "image"
10
- model_sdxl = "strangerzonehf/Flux-Super-Realism-LoRA"
11
- client = InferenceClient(model_sdxl)
12
 
13
 
14
  def forward(self, prompt):
 
7
  name = "image_generator"
8
  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."}}
9
  output_type = "image"
10
+ model = "black-forest-labs/FLUX.1-schnell"
11
+ client = InferenceClient(model)
12
 
13
 
14
  def forward(self, prompt):