msabia commited on
Commit
18da5c2
1 Parent(s): 79fff14

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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("tax/family.pickle", "rb") as f:
111
  family = [item.decode("utf-8") for item in pickle.load(f)]
112
- with open("tax/genus.pickle", "rb") as f:
113
  genus= [item.decode("utf-8") for item in pickle.load(f)]
114
- with open("tax/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")
 
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")