jennzhuge commited on
Commit
7c30d0a
·
1 Parent(s): 9500bfe
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -7,6 +7,7 @@ from datasets import load_dataset
7
  import infer
8
  import matplotlib.pyplot as plt
9
  from sklearn.manifold import TSNE
 
10
 
11
  with open("default_inputs.json", "r") as default_inputs_file:
12
  DEFAULT_INPUTS = json.load(default_inputs_file)
@@ -141,7 +142,7 @@ with gr.Blocks() as demo:
141
  with gr.Row() as row:
142
  with gr.Column():
143
  gr.Markdown("Plot of your DNA sequence among other known species clusters.")
144
- plot = gr.Plot("")
145
 
146
  btn_run.click(fn=tsne_DNA, inputs=[inp_dna, genus_out])
147
 
 
7
  import infer
8
  import matplotlib.pyplot as plt
9
  from sklearn.manifold import TSNE
10
+ from sklearn.preprocessing import LabelEncoder
11
 
12
  with open("default_inputs.json", "r") as default_inputs_file:
13
  DEFAULT_INPUTS = json.load(default_inputs_file)
 
142
  with gr.Row() as row:
143
  with gr.Column():
144
  gr.Markdown("Plot of your DNA sequence among other known species clusters.")
145
+ # plot = gr.Plot("")
146
 
147
  btn_run.click(fn=tsne_DNA, inputs=[inp_dna, genus_out])
148