Spaces:
Running
Running
roni
commited on
Commit
·
97ca4c0
1
Parent(s):
0b17b72
markdown update
Browse files
app.py
CHANGED
@@ -8,6 +8,11 @@ index_repo = "ronig/siamese_protein_index"
|
|
8 |
model_repo = "ronig/protein_search_engine"
|
9 |
engines = get_engines(index_repo, model_repo)
|
10 |
available_indexes = list(engines.keys())
|
|
|
|
|
|
|
|
|
|
|
11 |
|
12 |
|
13 |
def search_and_display(seq, n_res, index_selection):
|
@@ -104,15 +109,7 @@ def switch_viz(new_choice):
|
|
104 |
|
105 |
with gr.Blocks() as demo:
|
106 |
with gr.Column():
|
107 |
-
gr.Markdown(
|
108 |
-
"""
|
109 |
-
# Protein Binding Search Engine
|
110 |
-
This application enables a quick protein-peptide binding search based on
|
111 |
-
sequences.
|
112 |
-
You can use it to search the full [PDB](https://www.rcsb.org/) database or
|
113 |
-
in a specific organism genome..
|
114 |
-
"""
|
115 |
-
)
|
116 |
with gr.Column():
|
117 |
with gr.Row():
|
118 |
with gr.Column():
|
|
|
8 |
model_repo = "ronig/protein_search_engine"
|
9 |
engines = get_engines(index_repo, model_repo)
|
10 |
available_indexes = list(engines.keys())
|
11 |
+
app_description = """
|
12 |
+
# Protein Binding Search Engine
|
13 |
+
This application enables a quick protein-peptide binding search based on sequences.
|
14 |
+
You can use it to search the full [PDB](https://www.rcsb.org/) database or in a specific organism genome.
|
15 |
+
"""
|
16 |
|
17 |
|
18 |
def search_and_display(seq, n_res, index_selection):
|
|
|
109 |
|
110 |
with gr.Blocks() as demo:
|
111 |
with gr.Column():
|
112 |
+
gr.Markdown(app_description)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
113 |
with gr.Column():
|
114 |
with gr.Row():
|
115 |
with gr.Column():
|