Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -146,10 +146,10 @@ def generate_image(prompt: str) -> str:
|
|
| 146 |
try:
|
| 147 |
client = Client()
|
| 148 |
response = client.images.generate(
|
| 149 |
-
model="flux-
|
| 150 |
prompt=prompt,
|
| 151 |
response_format="url",
|
| 152 |
-
|
| 153 |
)
|
| 154 |
|
| 155 |
image_url = response.data[0].url
|
|
|
|
| 146 |
try:
|
| 147 |
client = Client()
|
| 148 |
response = client.images.generate(
|
| 149 |
+
model="flux-pro",
|
| 150 |
prompt=prompt,
|
| 151 |
response_format="url",
|
| 152 |
+
|
| 153 |
)
|
| 154 |
|
| 155 |
image_url = response.data[0].url
|