Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -281,9 +281,10 @@ def compose(prompt, ver):
|
|
281 |
else:
|
282 |
return compose_clevr_objects(prompt)
|
283 |
|
284 |
-
examples_1 =
|
285 |
-
examples_2 =
|
286 |
-
|
|
|
287 |
|
288 |
import gradio as gr
|
289 |
gr.Interface(title='Compositional Visual Generation with Composable Diffusion Models',
|
|
|
281 |
else:
|
282 |
return compose_clevr_objects(prompt)
|
283 |
|
284 |
+
examples_1 = 'a camel | a forest'
|
285 |
+
examples_2 = 'A cloudy blue sky | A mountain in the horizon | Cherry Blossoms in front of the mountain'
|
286 |
+
examples_3 = '0.1, 0.5 | 0.3, 0.5 | 0.5, 0.5 | 0.7, 0.5 | 0.9, 0.5'
|
287 |
+
examples = [[examples_1, 'GLIDE'], [examples_2, 'GLIDE'], [examples_3, 'CLEVR Objects']]
|
288 |
|
289 |
import gradio as gr
|
290 |
gr.Interface(title='Compositional Visual Generation with Composable Diffusion Models',
|