Update app.py
Browse files
app.py
CHANGED
|
@@ -120,7 +120,7 @@ def process_image(img, generate_image=True):
|
|
| 120 |
prompt=random.choice(prompt_templates).format(flower=predicted_class),
|
| 121 |
size="1024x1024",
|
| 122 |
background="transparent",
|
| 123 |
-
quality="
|
| 124 |
)
|
| 125 |
|
| 126 |
image_base64 = result.data[0].b64_json
|
|
|
|
| 120 |
prompt=random.choice(prompt_templates).format(flower=predicted_class),
|
| 121 |
size="1024x1024",
|
| 122 |
background="transparent",
|
| 123 |
+
quality="low"
|
| 124 |
)
|
| 125 |
|
| 126 |
image_base64 = result.data[0].b64_json
|