Maria Castellanos
commited on
Commit
Β·
1d9ac14
1
Parent(s):
43bd1fe
Fix scrolling
Browse files
app.py
CHANGED
|
@@ -55,38 +55,26 @@ def gradio_interface():
|
|
| 55 |
timer.tick(fn=update_current_dataframe, inputs=[data_version], outputs=data_version)
|
| 56 |
|
| 57 |
### Header
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 68 |
)
|
| 69 |
|
| 70 |
-
# with gr.Row():
|
| 71 |
-
# with gr.Column(scale=7): # bigger text area
|
| 72 |
-
# gr.Markdown("""
|
| 73 |
-
# ## Welcome to the OpenADMET + ExpansionRx Blind Challenge!
|
| 74 |
-
# Your task is to develop and submit predictive models for key ADMET properties on a blinded test set of real world drug discovery data π§βπ¬
|
| 75 |
-
#
|
| 76 |
-
# Go to the **Leaderboard** to check out how the challenge is going.
|
| 77 |
-
# To participate, head out to the **Submit** tab and upload your results as a `CSV` file.
|
| 78 |
-
#
|
| 79 |
-
# **The challenge is not yet open for submissions. Plase stay tuned for the official launch date!**
|
| 80 |
-
# """
|
| 81 |
-
# )
|
| 82 |
-
# with gr.Column(scale=2): # smaller side column for logo
|
| 83 |
-
# gr.Image(
|
| 84 |
-
# value="./_static/challenge_logo.png",
|
| 85 |
-
# show_label=False,
|
| 86 |
-
# show_download_button=False,
|
| 87 |
-
# width="5vw", # Take up the width of the column (2/8 = 1/4)
|
| 88 |
-
# )
|
| 89 |
-
|
| 90 |
# --- Welcome markdown message ---
|
| 91 |
welcome_md = """
|
| 92 |
# π OpenADMET + ExpansionRx
|
|
@@ -221,6 +209,7 @@ def gradio_interface():
|
|
| 221 |
/* Align columns */
|
| 222 |
#welcome-md td:nth-child(2),
|
| 223 |
#welcome-md td:nth-child(3) { text-align: center; white-space: nowrap; }
|
|
|
|
| 224 |
""")
|
| 225 |
with gr.Tabs(elem_classes="tab-buttons"):
|
| 226 |
lboard_dict = {}
|
|
@@ -394,4 +383,4 @@ def gradio_interface():
|
|
| 394 |
return demo
|
| 395 |
|
| 396 |
if __name__ == "__main__":
|
| 397 |
-
gradio_interface().launch()
|
|
|
|
| 55 |
timer.tick(fn=update_current_dataframe, inputs=[data_version], outputs=data_version)
|
| 56 |
|
| 57 |
### Header
|
| 58 |
+
with gr.Row():
|
| 59 |
+
with gr.Column(scale=7): # bigger text area
|
| 60 |
+
gr.Markdown("""
|
| 61 |
+
## Welcome to the OpenADMET + ExpansionRx Blind Challenge!
|
| 62 |
+
Your task is to develop and submit predictive models for key ADMET properties on a blinded test set of real world drug discovery data π§βπ¬
|
| 63 |
+
|
| 64 |
+
Go to the **Leaderboard** to check out how the challenge is going.
|
| 65 |
+
To participate, head out to the **Submit** tab and upload your results as a `CSV` file.
|
| 66 |
+
|
| 67 |
+
**The challenge is not yet open for submissions. Plase stay tuned for the official launch date!**
|
| 68 |
+
"""
|
| 69 |
+
)
|
| 70 |
+
with gr.Column(scale=2): # smaller side column for logo
|
| 71 |
+
gr.Image(
|
| 72 |
+
value="./_static/challenge_logo.png",
|
| 73 |
+
show_label=False,
|
| 74 |
+
show_download_button=False,
|
| 75 |
+
width="5vw", # Take up the width of the column (2/8 = 1/4)
|
| 76 |
)
|
| 77 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 78 |
# --- Welcome markdown message ---
|
| 79 |
welcome_md = """
|
| 80 |
# π OpenADMET + ExpansionRx
|
|
|
|
| 209 |
/* Align columns */
|
| 210 |
#welcome-md td:nth-child(2),
|
| 211 |
#welcome-md td:nth-child(3) { text-align: center; white-space: nowrap; }
|
| 212 |
+
</style>
|
| 213 |
""")
|
| 214 |
with gr.Tabs(elem_classes="tab-buttons"):
|
| 215 |
lboard_dict = {}
|
|
|
|
| 383 |
return demo
|
| 384 |
|
| 385 |
if __name__ == "__main__":
|
| 386 |
+
gradio_interface().launch(ssr_mode=False)
|