fix button size
Browse files- folding_studio_demo/app.py +18 -13
folding_studio_demo/app.py
CHANGED
@@ -321,21 +321,26 @@ def create_correlation_tab():
|
|
321 |
outputs=[prediction_dataframe],
|
322 |
)
|
323 |
with gr.Row():
|
324 |
-
with gr.
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
|
|
|
|
|
|
|
|
337 |
with gr.Row():
|
338 |
with gr.Column(scale=0):
|
|
|
339 |
# User can select the columns to display in the correlation plot
|
340 |
correlation_column = gr.Dropdown(
|
341 |
label="Score data to display",
|
|
|
321 |
outputs=[prediction_dataframe],
|
322 |
)
|
323 |
with gr.Row():
|
324 |
+
with gr.Column(scale=0):
|
325 |
+
with gr.Row():
|
326 |
+
correlation_type = gr.Radio(
|
327 |
+
choices=["Spearman", "Pearson"],
|
328 |
+
value="Spearman",
|
329 |
+
label="Correlation Type",
|
330 |
+
interactive=True,
|
331 |
+
min_width=150,
|
332 |
+
)
|
333 |
+
with gr.Row():
|
334 |
+
log_scale = gr.Checkbox(
|
335 |
+
label="Use log scale for KD",
|
336 |
+
value=False,
|
337 |
+
min_width=150,
|
338 |
+
)
|
339 |
+
with gr.Column():
|
340 |
+
correlation_ranking_plot = gr.Plot(label="Correlation ranking")
|
341 |
with gr.Row():
|
342 |
with gr.Column(scale=0):
|
343 |
+
|
344 |
# User can select the columns to display in the correlation plot
|
345 |
correlation_column = gr.Dropdown(
|
346 |
label="Score data to display",
|