KingNish commited on
Commit
6069913
1 Parent(s): 48191bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -144,7 +144,7 @@ def respond(message, history):
144
  query = json_data["arguments"]["query"]
145
  gr.Info("Generating Image, Please wait 10 sec...")
146
  client = InferenceClient("stabilityai/stable-diffusion-3-medium-diffusers")
147
- seed = random.randint(0.999999)
148
  image = client.text_to_image(message_text, negative_prompt=f"{seed}")
149
  yield gr.Image(image)
150
  gr.Info("We are going to mor upgrade image generator in next update")
 
144
  query = json_data["arguments"]["query"]
145
  gr.Info("Generating Image, Please wait 10 sec...")
146
  client = InferenceClient("stabilityai/stable-diffusion-3-medium-diffusers")
147
+ seed = random.randint(0,999999)
148
  image = client.text_to_image(message_text, negative_prompt=f"{seed}")
149
  yield gr.Image(image)
150
  gr.Info("We are going to mor upgrade image generator in next update")