Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -1011,17 +1011,8 @@ h1{
|
|
| 1011 |
margin: 0 auto;
|
| 1012 |
justify-content: center;
|
| 1013 |
}
|
| 1014 |
-
|
| 1015 |
-
|
| 1016 |
-
}
|
| 1017 |
"""
|
| 1018 |
-
with gr.Blocks(
|
| 1019 |
-
theme=gr.themes.Default(),
|
| 1020 |
-
css=css,
|
| 1021 |
-
head="""
|
| 1022 |
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
|
| 1023 |
-
"""
|
| 1024 |
-
) as demo:
|
| 1025 |
gr.Markdown("<h1>ExplainBind: Token-level ProteinβLigand Interaction Visualiser</h1>")
|
| 1026 |
gr.Markdown(
|
| 1027 |
'<p class="subtle">'
|
|
@@ -1061,42 +1052,13 @@ with gr.Blocks(
|
|
| 1061 |
</span>
|
| 1062 |
|
| 1063 |
<span class="link-block">
|
| 1064 |
-
<a href="ZhaohanM.github.io/ExplainBind/" target="_blank" class="btn-link">
|
| 1065 |
<i class="fa-solid fa-globe"></i> Project Page
|
| 1066 |
</a>
|
| 1067 |
</span>
|
| 1068 |
</div>
|
| 1069 |
""")
|
| 1070 |
|
| 1071 |
-
# <span class="link-block">
|
| 1072 |
-
# <a href="https://huggingface.co/spaces/Zhaohan-Meng/InteractBind" target="_blank" class="btn-warning">
|
| 1073 |
-
# π Datasets
|
| 1074 |
-
# </a>
|
| 1075 |
-
# </span>
|
| 1076 |
-
# gr.Markdown("""
|
| 1077 |
-
# <div class="publication-links" style="text-align:center; margin-top: 10px;">
|
| 1078 |
-
|
| 1079 |
-
# <!-- βββββ Project Badges βββββ -->
|
| 1080 |
-
# <a href="https://zhaohanm.github.io/ExplainBind/" target="_blank">
|
| 1081 |
-
# <img src="https://img.shields.io/badge/Project-Page-4285F4?style=for-the-badge&logo=googlelens&logoColor=4285F4">
|
| 1082 |
-
# </a>
|
| 1083 |
-
|
| 1084 |
-
# <a href="https://doi.org/10.1101/2022.09.16.508229" target="_blank">
|
| 1085 |
-
# <img src="https://img.shields.io/badge/bioRxiv-10.1101%2F2022.09.16.508229-orange?style=for-the-badge">
|
| 1086 |
-
# </a>
|
| 1087 |
-
|
| 1088 |
-
# <a href="https://github.com/ZhaohanM/ExplainBind/blob/main/LICENSE" target="_blank">
|
| 1089 |
-
# <img src="https://img.shields.io/badge/License-MIT-green?style=for-the-badge">
|
| 1090 |
-
# </a>
|
| 1091 |
-
|
| 1092 |
-
# <a href="https://visitorbadge.io/status?path=https%3A%2F%2Fgithub.com%2FZhaohanM%2FExplainBind" target="_blank">
|
| 1093 |
-
# <img src="https://api.visitorbadge.io/api/combined?path=https%3A%2F%2Fgithub.com%2FZhaohanM%2FExplainBind&label=Views&countColor=%23f36f43&style=for-the-badge">
|
| 1094 |
-
# </a>
|
| 1095 |
-
|
| 1096 |
-
# </div>
|
| 1097 |
-
# """)
|
| 1098 |
-
|
| 1099 |
-
|
| 1100 |
# βββββββββββββββββββββββββββββββ
|
| 1101 |
# Guidelines
|
| 1102 |
# βββββββββββββββββββββββββββββββ
|
|
@@ -1247,11 +1209,12 @@ with gr.Blocks(
|
|
| 1247 |
],
|
| 1248 |
)
|
| 1249 |
|
| 1250 |
-
|
| 1251 |
-
|
| 1252 |
-
|
| 1253 |
-
|
| 1254 |
-
|
| 1255 |
-
|
| 1256 |
-
|
| 1257 |
-
|
|
|
|
|
|
| 1011 |
margin: 0 auto;
|
| 1012 |
justify-content: center;
|
| 1013 |
}
|
|
|
|
|
|
|
|
|
|
| 1014 |
"""
|
| 1015 |
+
with gr.Blocks() as demo:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1016 |
gr.Markdown("<h1>ExplainBind: Token-level ProteinβLigand Interaction Visualiser</h1>")
|
| 1017 |
gr.Markdown(
|
| 1018 |
'<p class="subtle">'
|
|
|
|
| 1052 |
</span>
|
| 1053 |
|
| 1054 |
<span class="link-block">
|
| 1055 |
+
<a href="https://ZhaohanM.github.io/ExplainBind/" target="_blank" class="btn-link">
|
| 1056 |
<i class="fa-solid fa-globe"></i> Project Page
|
| 1057 |
</a>
|
| 1058 |
</span>
|
| 1059 |
</div>
|
| 1060 |
""")
|
| 1061 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1062 |
# βββββββββββββββββββββββββββββββ
|
| 1063 |
# Guidelines
|
| 1064 |
# βββββββββββββββββββββββββββββββ
|
|
|
|
| 1209 |
],
|
| 1210 |
)
|
| 1211 |
|
| 1212 |
+
demo.launch(
|
| 1213 |
+
theme=gr.themes.Default(),
|
| 1214 |
+
css=css,
|
| 1215 |
+
head="""
|
| 1216 |
+
<link rel="stylesheet"
|
| 1217 |
+
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
|
| 1218 |
+
""",
|
| 1219 |
+
show_error=True
|
| 1220 |
+
)
|