AMfeta99 commited on
Commit
6305440
·
verified ·
1 Parent(s): 0d3ef71

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -83,7 +83,7 @@ class TextToImageTool(Tool):
83
  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."}}
84
  output_type = "image"
85
  model_sdxl = "black-forest-labs/FLUX.1-schnell"
86
- client = InferenceClient(model_sdxl)
87
 
88
 
89
  def forward(self, prompt):
 
83
  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."}}
84
  output_type = "image"
85
  model_sdxl = "black-forest-labs/FLUX.1-schnell"
86
+ client = InferenceClient(model_sdxl, provider="replicate")
87
 
88
 
89
  def forward(self, prompt):