Xmaster6y commited on
Commit
7896579
1 Parent(s): 9bdf986

inverted button order

Browse files
Files changed (2) hide show
  1. src/label_interface.py +14 -12
  2. src/sample_interface.py +15 -13
src/label_interface.py CHANGED
@@ -130,6 +130,20 @@ with gr.Blocks() as interface:
130
  multiselect=True,
131
  choices=CONCEPTS,
132
  )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
133
  with gr.Group():
134
  voted_concepts = gr.CheckboxGroup(
135
  label="Voted Concepts",
@@ -144,18 +158,6 @@ with gr.Blocks() as interface:
144
  choices=CONCEPTS,
145
  )
146
 
147
- with gr.Row():
148
- next_button = gr.Button(
149
- value="Next",
150
- )
151
- gr.LoginButton()
152
- submit_button = gr.Button(
153
- value="Local Submit",
154
- )
155
- with gr.Row():
156
- save_button = gr.Button(
157
- value="Save",
158
- )
159
  with gr.Group():
160
  gr.Markdown(
161
  "## # Image Info",
 
130
  multiselect=True,
131
  choices=CONCEPTS,
132
  )
133
+
134
+ with gr.Row():
135
+ next_button = gr.Button(
136
+ value="Next",
137
+ )
138
+ gr.LoginButton()
139
+ submit_button = gr.Button(
140
+ value="Local Submit",
141
+ )
142
+ with gr.Row():
143
+ save_button = gr.Button(
144
+ value="Save",
145
+ )
146
+
147
  with gr.Group():
148
  voted_concepts = gr.CheckboxGroup(
149
  label="Voted Concepts",
 
158
  choices=CONCEPTS,
159
  )
160
 
 
 
 
 
 
 
 
 
 
 
 
 
161
  with gr.Group():
162
  gr.Markdown(
163
  "## # Image Info",
src/sample_interface.py CHANGED
@@ -112,19 +112,6 @@ with gr.Blocks() as interface:
112
  label="Index",
113
  max_lines=1,
114
  )
115
- with gr.Group():
116
- voted_concepts = gr.CheckboxGroup(
117
- label="Voted Concepts",
118
- choices=CONCEPTS,
119
- )
120
- unseen_concepts = gr.CheckboxGroup(
121
- label="Previously Unseen Concepts",
122
- choices=CONCEPTS,
123
- )
124
- tie_concepts = gr.CheckboxGroup(
125
- label="Tie Concepts",
126
- choices=CONCEPTS,
127
- )
128
 
129
  with gr.Row():
130
  prev_button = gr.Button(
@@ -141,6 +128,21 @@ with gr.Blocks() as interface:
141
  save_button = gr.Button(
142
  value="Save",
143
  )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
144
  with gr.Group():
145
  gr.Markdown(
146
  "## # Image Info",
 
112
  label="Index",
113
  max_lines=1,
114
  )
 
 
 
 
 
 
 
 
 
 
 
 
 
115
 
116
  with gr.Row():
117
  prev_button = gr.Button(
 
128
  save_button = gr.Button(
129
  value="Save",
130
  )
131
+
132
+ with gr.Group():
133
+ voted_concepts = gr.CheckboxGroup(
134
+ label="Voted Concepts",
135
+ choices=CONCEPTS,
136
+ )
137
+ unseen_concepts = gr.CheckboxGroup(
138
+ label="Previously Unseen Concepts",
139
+ choices=CONCEPTS,
140
+ )
141
+ tie_concepts = gr.CheckboxGroup(
142
+ label="Tie Concepts",
143
+ choices=CONCEPTS,
144
+ )
145
+
146
  with gr.Group():
147
  gr.Markdown(
148
  "## # Image Info",