THEODOROS commited on
Commit
5665b85
·
1 Parent(s): 2733422

put legend on the bottom

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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([legend, im])
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