jie1 commited on
Commit
fba4b84
1 Parent(s): dee53e0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -9
app.py CHANGED
@@ -13,7 +13,6 @@ from Preinput_Merge import *
13
  from Sort_Dlkcat import *
14
  from Merge_Dlsc import *
15
  from Sort_Sco_Kcat import *
16
- from Plt import *
17
  sys.path.append('/home/user/app/DLKcat/DeeplearningApproach/Code/example/')
18
  # from model import *
19
  from prediction_for_input import *
@@ -128,11 +127,6 @@ with gr.Blocks(css=".gradio-container {background-image: url('file=background.jp
128
  file4_input2 = gr.File(label="cat_file")
129
  file4_output = gr.File()
130
  file4_button = gr.Button("Merge")
131
-
132
- with gr.Tab("Plt Picture"):
133
- file5_input = gr.File(label="log_file")
134
- file5_output = gr.File()
135
- file5_button = gr.Button("Plt")
136
 
137
  with gr.Tab("Prediction Dlkcat"):
138
  file6_input = gr.File(label="输入相关文件")
@@ -151,9 +145,7 @@ with gr.Blocks(css=".gradio-container {background-image: url('file=background.jp
151
  file2_button3.click(Merge_All, inputs=[file2_input2, file2_input3], outputs=file2_output)
152
 
153
  file4_button.click(Merge_Dlsc, inputs=[file4_input1, file4_input2], outputs=file4_output)
154
-
155
- file5_button.click(Plt, inputs=file5_input, outputs=file5_output)
156
-
157
  file6_button.click(test, inputs=file6_input, outputs=file6_output)
158
 
159
  if __name__ == "__main__":
 
13
  from Sort_Dlkcat import *
14
  from Merge_Dlsc import *
15
  from Sort_Sco_Kcat import *
 
16
  sys.path.append('/home/user/app/DLKcat/DeeplearningApproach/Code/example/')
17
  # from model import *
18
  from prediction_for_input import *
 
127
  file4_input2 = gr.File(label="cat_file")
128
  file4_output = gr.File()
129
  file4_button = gr.Button("Merge")
 
 
 
 
 
130
 
131
  with gr.Tab("Prediction Dlkcat"):
132
  file6_input = gr.File(label="输入相关文件")
 
145
  file2_button3.click(Merge_All, inputs=[file2_input2, file2_input3], outputs=file2_output)
146
 
147
  file4_button.click(Merge_Dlsc, inputs=[file4_input1, file4_input2], outputs=file4_output)
148
+
 
 
149
  file6_button.click(test, inputs=file6_input, outputs=file6_output)
150
 
151
  if __name__ == "__main__":