Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -144,8 +144,9 @@ 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 |
-
query = query.replace(" ", "%20")
|
| 148 |
image = f""
|
|
|
|
|
|
|
| 149 |
yield image
|
| 150 |
time.sleep(8)
|
| 151 |
gr.Info("We are going to Update Our Image Generation Engine to more powerful ones in Next Update. ThankYou")
|
|
|
|
| 144 |
query = json_data["arguments"]["query"]
|
| 145 |
gr.Info("Generating Image, Please wait 10 sec...")
|
| 146 |
seed = random.randint(1, 99999)
|
|
|
|
| 147 |
image = f""
|
| 148 |
+
image = image.replace("\\n", "")
|
| 149 |
+
image = image.replace(" ", "%20")
|
| 150 |
yield image
|
| 151 |
time.sleep(8)
|
| 152 |
gr.Info("We are going to Update Our Image Generation Engine to more powerful ones in Next Update. ThankYou")
|