Spaces:
Runtime error
Runtime error
put legend on the bottom
Browse files
app.py
CHANGED
|
@@ -124,7 +124,7 @@ def prompt_to_layout(user_prompt, intensity, fpath=None):
|
|
| 124 |
html = '<img class="labels" src="images/labels.png" />'
|
| 125 |
|
| 126 |
legend = Image.open("labels.png")
|
| 127 |
-
imgs_comb = np.vstack([
|
| 128 |
imgs_comb = Image.fromarray(imgs_comb)
|
| 129 |
|
| 130 |
return imgs_comb
|
|
|
|
| 124 |
html = '<img class="labels" src="images/labels.png" />'
|
| 125 |
|
| 126 |
legend = Image.open("labels.png")
|
| 127 |
+
imgs_comb = np.vstack([im, legend])
|
| 128 |
imgs_comb = Image.fromarray(imgs_comb)
|
| 129 |
|
| 130 |
return imgs_comb
|