Spaces:
Runtime error
Runtime error
roni
commited on
Commit
•
d48c285
1
Parent(s):
33eb5d4
updating the app to a new index
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import gradio as gr
|
|
6 |
from get_index import get_engines
|
7 |
from protein_viz import get_pdb_title, render_html
|
8 |
|
9 |
-
index_repo = "ronig/
|
10 |
model_repo = "ronig/protein_search_engine"
|
11 |
engines = get_engines(index_repo, model_repo)
|
12 |
available_indexes = list(engines.keys())
|
@@ -121,7 +121,7 @@ with gr.Blocks() as demo:
|
|
121 |
n_results = gr.Number(10, label="N Results")
|
122 |
index_selector = gr.Dropdown(
|
123 |
choices=available_indexes,
|
124 |
-
value="
|
125 |
multiselect=False,
|
126 |
visible=True,
|
127 |
label="Index",
|
|
|
6 |
from get_index import get_engines
|
7 |
from protein_viz import get_pdb_title, render_html
|
8 |
|
9 |
+
index_repo = "ronig/protein_index"
|
10 |
model_repo = "ronig/protein_search_engine"
|
11 |
engines = get_engines(index_repo, model_repo)
|
12 |
available_indexes = list(engines.keys())
|
|
|
121 |
n_results = gr.Number(10, label="N Results")
|
122 |
index_selector = gr.Dropdown(
|
123 |
choices=available_indexes,
|
124 |
+
value="All Species",
|
125 |
multiselect=False,
|
126 |
visible=True,
|
127 |
label="Index",
|