Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
seed = random.randint(1, 99999)
|
147 |
-
image = f"![](https://image.pollinations.ai/prompt/{message_text}{query}?seed={seed})"
|
148 |
image = image.replace("\\n", "")
|
149 |
image = image.replace(" ", "%20")
|
150 |
yield image
|
|
|
144 |
query = json_data["arguments"]["query"]
|
145 |
gr.Info("Generating Image, Please wait 10 sec...")
|
146 |
seed = random.randint(1, 99999)
|
147 |
+
image = f"![](https://image.pollinations.ai/prompt/{message_text}{query}?seed={seed}&nologo=True)"
|
148 |
image = image.replace("\\n", "")
|
149 |
image = image.replace(" ", "%20")
|
150 |
yield image
|