Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -107,11 +107,11 @@ with gr.Blocks(title="Bioscan-Clip") as demo:
|
|
107 |
id_to_dna_emb_dict = pickle.load(f)
|
108 |
|
109 |
# open taxonomy files
|
110 |
-
with open("
|
111 |
family = [item.decode("utf-8") for item in pickle.load(f)]
|
112 |
-
with open("
|
113 |
genus= [item.decode("utf-8") for item in pickle.load(f)]
|
114 |
-
with open("
|
115 |
species = [item.decode("utf-8") for item in pickle.load(f)]
|
116 |
with gr.Column():
|
117 |
process_id = gr.Textbox(label="ID:", info="Enter a sample ID to search for")
|
|
|
107 |
id_to_dna_emb_dict = pickle.load(f)
|
108 |
|
109 |
# open taxonomy files
|
110 |
+
with open("family.pickle", "rb") as f:
|
111 |
family = [item.decode("utf-8") for item in pickle.load(f)]
|
112 |
+
with open("genus.pickle", "rb") as f:
|
113 |
genus= [item.decode("utf-8") for item in pickle.load(f)]
|
114 |
+
with open("species.pickle", "rb") as f:
|
115 |
species = [item.decode("utf-8") for item in pickle.load(f)]
|
116 |
with gr.Column():
|
117 |
process_id = gr.Textbox(label="ID:", info="Enter a sample ID to search for")
|