KingNish commited on
Commit
2dd41c9
1 Parent(s): 714595a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -148,7 +148,6 @@ def respond(message, history):
148
  yield output
149
  elif json_data["name"] == "image_generation":
150
  query = json_data["arguments"]["query"]
151
- number_of_image = json_data["arguments"]["number_of_image"]
152
  gr.Info("Generating Image, Please wait 10 sec...")
153
  client = InferenceClient("stabilityai/stable-diffusion-3-medium-diffusers")
154
  seed = random.randint(0,999999)
 
148
  yield output
149
  elif json_data["name"] == "image_generation":
150
  query = json_data["arguments"]["query"]
 
151
  gr.Info("Generating Image, Please wait 10 sec...")
152
  client = InferenceClient("stabilityai/stable-diffusion-3-medium-diffusers")
153
  seed = random.randint(0,999999)