Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -110,9 +110,12 @@ with gr.Blocks() as demo:
|
|
110 |
id_to_dna_emb_dict = pickle.load(f)
|
111 |
|
112 |
# open taxonomy files
|
113 |
-
|
114 |
-
|
115 |
-
|
|
|
|
|
|
|
116 |
|
117 |
with gr.Column():
|
118 |
process_id = gr.Textbox(label="ID:", info="Enter a sample ID to search for")
|
|
|
110 |
id_to_dna_emb_dict = pickle.load(f)
|
111 |
|
112 |
# open taxonomy files
|
113 |
+
with open("family.pickle", "rb") as f:
|
114 |
+
family = [item.decode("utf-8") for item in pickle.load(f)]
|
115 |
+
with open("genus.pickle", "rb") as f:
|
116 |
+
genus= [item.decode("utf-8") for item in pickle.load(f)]
|
117 |
+
with open("species.pickle", "rb") as f:
|
118 |
+
species = [item.decode("utf-8") for item in pickle.load(f)]
|
119 |
|
120 |
with gr.Column():
|
121 |
process_id = gr.Textbox(label="ID:", info="Enter a sample ID to search for")
|