gchhablani commited on
Commit
2f435ba
1 Parent(s): ea99da5

Change Layout

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -104,8 +104,8 @@ if state.image_file is None:
104
  state.image = image
105
 
106
  # col1, col2 = st.beta_columns([6, 4])
107
- new_col1, new_col2 = st.beta_columns([5, 5])
108
- if new_col1.button(
109
  "Get a random example",
110
  help="Get a random example from the 100 `seeded` image-text pairs.",
111
  ):
@@ -133,7 +133,7 @@ if new_col1.button(
133
 
134
  transformed_image = get_transformed_image(state.image)
135
 
136
-
137
 
138
  # Display Image
139
  new_col1.image(state.image, use_column_width="auto")
 
104
  state.image = image
105
 
106
  # col1, col2 = st.beta_columns([6, 4])
107
+
108
+ if st.button(
109
  "Get a random example",
110
  help="Get a random example from the 100 `seeded` image-text pairs.",
111
  ):
 
133
 
134
  transformed_image = get_transformed_image(state.image)
135
 
136
+ new_col1, new_col2 = st.beta_columns([5, 5])
137
 
138
  # Display Image
139
  new_col1.image(state.image, use_column_width="auto")