polejowska commited on
Commit
c803c34
·
1 Parent(s): 7c66b75

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -7
app.py CHANGED
@@ -90,6 +90,12 @@ with gr.Blocks(css=css) as app:
90
  ],
91
  samples_per_page=2,
92
  )
 
 
 
 
 
 
93
  with gr.Column():
94
  with gr.Row():
95
  experiment_type = gr.Dropdown(
@@ -131,7 +137,7 @@ with gr.Blocks(css=css) as app:
131
  )
132
  with gr.Row():
133
  ffn_dim = gr.Dropdown(
134
- value=6,
135
  choices=[1024, 2048, 4096],
136
  label="Select FFN dimension",
137
  show_label=True,
@@ -175,12 +181,7 @@ with gr.Blocks(css=css) as app:
175
  )
176
  with gr.Row():
177
  detect_button = gr.Button("Detect leukocytes")
178
- with gr.Row():
179
- with gr.Column():
180
- gr.Markdown(
181
- """The selected image with detected bounding boxes by the model"""
182
- )
183
- img_output_from_upload = gr.Image(shape=(800, 800))
184
  with gr.TabItem("Attentions visualization"):
185
  gr.Markdown("""Encoder attentions""")
186
  with gr.Row():
 
90
  ],
91
  samples_per_page=2,
92
  )
93
+ with gr.Row():
94
+ with gr.Column():
95
+ gr.Markdown(
96
+ """The selected image with detected bounding boxes by the model"""
97
+ )
98
+ img_output_from_upload = gr.Image(shape=(800, 800))
99
  with gr.Column():
100
  with gr.Row():
101
  experiment_type = gr.Dropdown(
 
137
  )
138
  with gr.Row():
139
  ffn_dim = gr.Dropdown(
140
+ value=2048,
141
  choices=[1024, 2048, 4096],
142
  label="Select FFN dimension",
143
  show_label=True,
 
181
  )
182
  with gr.Row():
183
  detect_button = gr.Button("Detect leukocytes")
184
+
 
 
 
 
 
185
  with gr.TabItem("Attentions visualization"):
186
  gr.Markdown("""Encoder attentions""")
187
  with gr.Row():