explain scores
Browse files
folding_studio_demo/app.py
CHANGED
@@ -261,9 +261,11 @@ def create_correlation_tab():
|
|
261 |
}
|
262 |
return descriptions.get(score, "No description available for this score.")
|
263 |
|
264 |
-
gr.Markdown(
|
265 |
-
|
266 |
-
|
|
|
|
|
267 |
)
|
268 |
with gr.Column():
|
269 |
correlation_plot = gr.Plot(label="Correlation with binding affinity")
|
|
|
261 |
}
|
262 |
return descriptions.get(score, "No description available for this score.")
|
263 |
|
264 |
+
score_description = gr.Markdown(get_score_description(correlation_column.value))
|
265 |
+
correlation_column.change(
|
266 |
+
fn=lambda x: get_score_description(x),
|
267 |
+
inputs=correlation_column,
|
268 |
+
outputs=score_description
|
269 |
)
|
270 |
with gr.Column():
|
271 |
correlation_plot = gr.Plot(label="Correlation with binding affinity")
|