Abe
commited on
Commit
·
5ddf7bf
1
Parent(s):
aa0c79b
syntax error
Browse files
api.py
CHANGED
|
@@ -48,6 +48,7 @@ async def text_to_image(
|
|
| 48 |
try:
|
| 49 |
seed_value = int(seed)
|
| 50 |
except (ValueError, TypeError):
|
|
|
|
| 51 |
# Let the inference module handle invalid seed
|
| 52 |
|
| 53 |
# Call the inference module
|
|
|
|
| 48 |
try:
|
| 49 |
seed_value = int(seed)
|
| 50 |
except (ValueError, TypeError):
|
| 51 |
+
pass
|
| 52 |
# Let the inference module handle invalid seed
|
| 53 |
|
| 54 |
# Call the inference module
|