Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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)
|