ngd1210 commited on
Commit
30451f1
·
1 Parent(s): 751d283
Files changed (1) hide show
  1. routes/textToImage.py +1 -1
routes/textToImage.py CHANGED
@@ -9,7 +9,7 @@ router = APIRouter()
9
  async def text_to_image(t2i_body: TextToImageRequest):
10
  client = InferenceClient(model=t2i_body.model)
11
  res = client.text_to_image(
12
- prompt=t2i_body.prompt,
13
  negative_prompt=t2i_body.negative_prompt,
14
  height=t2i_body.height,
15
  width=t2i_body.width,
 
9
  async def text_to_image(t2i_body: TextToImageRequest):
10
  client = InferenceClient(model=t2i_body.model)
11
  res = client.text_to_image(
12
+ t2i_body.prompt,
13
  negative_prompt=t2i_body.negative_prompt,
14
  height=t2i_body.height,
15
  width=t2i_body.width,