Spaces:
Runtime error
Runtime error
lionelgarnier
commited on
Commit
·
33f174f
1
Parent(s):
b21799e
none
Browse files
app.py
CHANGED
@@ -140,7 +140,7 @@ def infer(prompt, seed=42, randomize_seed=False, width=1024, height=1024, num_in
|
|
140 |
progress(1.0, desc="Done!")
|
141 |
return prompt, image, seed
|
142 |
except Exception as e:
|
143 |
-
return None, f"Error generating image: {str(e)}"
|
144 |
|
145 |
examples = [
|
146 |
"a tiny astronaut hatching from an egg on the moon",
|
|
|
140 |
progress(1.0, desc="Done!")
|
141 |
return prompt, image, seed
|
142 |
except Exception as e:
|
143 |
+
return None, None, f"Error generating image: {str(e)}"
|
144 |
|
145 |
examples = [
|
146 |
"a tiny astronaut hatching from an egg on the moon",
|