Spaces:
Build error
Build error
Update main.py
Browse files
main.py
CHANGED
|
@@ -473,7 +473,7 @@ def generate_image(request: Request, input_data: InputImage):
|
|
| 473 |
if attempt < max_attempts:
|
| 474 |
continue
|
| 475 |
else:
|
| 476 |
-
return {"error": "Errore interno del server persistente"}
|
| 477 |
return {"error": "Numero massimo di tentativi raggiunto"}
|
| 478 |
|
| 479 |
|
|
|
|
| 473 |
if attempt < max_attempts:
|
| 474 |
continue
|
| 475 |
else:
|
| 476 |
+
return {"error": "Errore interno del server persistente!"}
|
| 477 |
return {"error": "Numero massimo di tentativi raggiunto"}
|
| 478 |
|
| 479 |
|