Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -199,7 +199,7 @@ def respond(
|
|
199 |
gr.Info("Generating Image, Please wait...")
|
200 |
seed = random.randint(1, 99999)
|
201 |
query = query.replace(" ", "%20")
|
202 |
-
image = f"![](https://image.pollinations.ai/prompt/{query}?{seed})"
|
203 |
yield image
|
204 |
gr.Info("We are going to Update Our Image Generation Engine to more powerful ones in Next Update. ThankYou")
|
205 |
elif json_data["name"] == "image_qna":
|
|
|
199 |
gr.Info("Generating Image, Please wait...")
|
200 |
seed = random.randint(1, 99999)
|
201 |
query = query.replace(" ", "%20")
|
202 |
+
image = f"![](https://image.pollinations.ai/prompt/{query}?seed={seed})"
|
203 |
yield image
|
204 |
gr.Info("We are going to Update Our Image Generation Engine to more powerful ones in Next Update. ThankYou")
|
205 |
elif json_data["name"] == "image_qna":
|