Update app.py
Browse files
app.py
CHANGED
@@ -7,6 +7,13 @@ from Sort_Sco_Kcat import *
|
|
7 |
|
8 |
with gr.Blocks(css=".gradio-container {background-image: url('file=background.jpeg')}") as demo:
|
9 |
gr.Markdown("Welcome using this demo.")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
with gr.Tab("Sort"):
|
11 |
with gr.Row():
|
12 |
file1_input1 = gr.File(label="scores_file")
|
@@ -26,7 +33,7 @@ with gr.Blocks(css=".gradio-container {background-image: url('file=background.jp
|
|
26 |
file2_button1 = gr.Button("Strip")
|
27 |
file2_button2 = gr.Button("Merge")
|
28 |
|
29 |
-
with gr.Tab("
|
30 |
with gr.Row():
|
31 |
file4_input1 = gr.File(label="sc_file")
|
32 |
file4_input2 = gr.File(label="cat_file")
|
@@ -47,3 +54,4 @@ with gr.Blocks(css=".gradio-container {background-image: url('file=background.jp
|
|
47 |
|
48 |
if __name__ == "__main__":
|
49 |
demo.launch()
|
|
|
|
7 |
|
8 |
with gr.Blocks(css=".gradio-container {background-image: url('file=background.jpeg')}") as demo:
|
9 |
gr.Markdown("Welcome using this demo.")
|
10 |
+
with gr.Tab("HelloWorld"):
|
11 |
+
gr.Markdown("Welcome using this demo.")
|
12 |
+
gr.Markdown("This is a succend test")
|
13 |
+
gr.Markdown("I think this demo can do some things")
|
14 |
+
gr.Markdown("在sort里,可以对scores文件,dlkcat文件,以及合并后的scores与dlkcat文件进行排序")
|
15 |
+
gr.Markdown("Pre Merge里,可以将序列文件与smi文件进行合并,合并后可以进行dlkcat值的计算,合并前若序列文件需要处理换行符也可以对其进行处理")
|
16 |
+
gr.Markdown("Merge Dlsc里,可以合并scores值文件和dlkcat文件,主义这两个文件序列需要一致")
|
17 |
with gr.Tab("Sort"):
|
18 |
with gr.Row():
|
19 |
file1_input1 = gr.File(label="scores_file")
|
|
|
33 |
file2_button1 = gr.Button("Strip")
|
34 |
file2_button2 = gr.Button("Merge")
|
35 |
|
36 |
+
with gr.Tab("Merge Dlsc"):
|
37 |
with gr.Row():
|
38 |
file4_input1 = gr.File(label="sc_file")
|
39 |
file4_input2 = gr.File(label="cat_file")
|
|
|
54 |
|
55 |
if __name__ == "__main__":
|
56 |
demo.launch()
|
57 |
+
|