Mikhael Johanes commited on
Commit
0b42a04
·
1 Parent(s): c91739d
Files changed (1) hide show
  1. app.py +8 -9
app.py CHANGED
@@ -95,6 +95,14 @@ def plot_indices(model, indices, lim=1.5, alpha=0.02, calculate_lim=False):
95
  im = plot_isovist(locs, sampled_isovists, lim, alpha, calculate_lim)
96
  return im
97
 
 
 
 
 
 
 
 
 
98
 
99
 
100
  st.subheader("GIsT: Generative Isovist Transformers")
@@ -251,12 +259,3 @@ if undo:
251
 
252
 
253
  cont.image(st.session_state.image)
254
-
255
- st.write('''<style>
256
-
257
- [data-testid="column"] {
258
- width: calc(33.3333% - 1rem) !important;
259
- flex: 1 1 calc(33.3333% - 1rem) !important;
260
- min-width: calc(33% - 1rem) !important;
261
- }
262
- </style>''', unsafe_allow_html=True)
 
95
  im = plot_isovist(locs, sampled_isovists, lim, alpha, calculate_lim)
96
  return im
97
 
98
+ st.write('''<style>
99
+
100
+ [data-testid="column"] {
101
+ width: calc(33.3333% - 1rem) !important;
102
+ flex: 1 1 calc(33.3333% - 1rem) !important;
103
+ min-width: calc(33% - 1rem) !important;
104
+ }
105
+ </style>''', unsafe_allow_html=True)
106
 
107
 
108
  st.subheader("GIsT: Generative Isovist Transformers")
 
259
 
260
 
261
  cont.image(st.session_state.image)