jie1 commited on
Commit
187fc00
1 Parent(s): 18a7ec8

Update file/test.py

Browse files
Files changed (1) hide show
  1. file/test.py +3 -3
file/test.py CHANGED
@@ -10,7 +10,7 @@ sys.path.append('/home/user/app/DLKcat/DeeplearningApproach/Code/example/')
10
  # from model import *
11
  from prediction_for_input import *
12
 
13
- with gr.Blocks(css=".gradio-container {background-image: url('file=/home/user/app/file/background.jpeg')}") as demo:
14
  gr.Markdown("Welcome using this demo.")
15
  with gr.Tab("HelloWorld"):
16
  gr.Markdown("Welcome using this demo.")
@@ -18,7 +18,7 @@ with gr.Blocks(css=".gradio-container {background-image: url('file=/home/user/ap
18
  gr.Markdown("I think this demo can do some things")
19
  gr.Markdown("在sort里,可以对scores文件,dlkcat文件,以及合并后的scores与dlkcat文件进行排序")
20
  gr.Markdown("Pre Merge里,可以将序列文件与smi文件进行合并,合并后可以进行dlkcat值的计算,合并前若序列文件需要处理换行符也可以对其进行处理")
21
- gr.Markdown("Merge Dlsc里,可以合并scores值文件和dlkcat文件,主义这两个文件序列需要一致")
22
  with gr.Tab("Sort"):
23
  file1_input = gr.File(label="输入相关文件")
24
  file1_output = gr.File()
@@ -53,7 +53,7 @@ with gr.Blocks(css=".gradio-container {background-image: url('file=/home/user/ap
53
  with gr.Tab("Test"):
54
  file6_input = gr.File(label="输入相关文件")
55
  file6_output = gr.File()
56
- file6_button = gr.Button("test")
57
 
58
  with gr.Accordion("Open for More!"):
59
  gr.Markdown("Look at me...")
 
10
  # from model import *
11
  from prediction_for_input import *
12
 
13
+ with gr.Blocks(css=".gradio-container {background-image: url('file=background.jpeg')}") as demo:
14
  gr.Markdown("Welcome using this demo.")
15
  with gr.Tab("HelloWorld"):
16
  gr.Markdown("Welcome using this demo.")
 
18
  gr.Markdown("I think this demo can do some things")
19
  gr.Markdown("在sort里,可以对scores文件,dlkcat文件,以及合并后的scores与dlkcat文件进行排序")
20
  gr.Markdown("Pre Merge里,可以将序列文件与smi文件进行合并,合并后可以进行dlkcat值的计算,合并前若序列文件需要处理换行符也可以对其进行处理")
21
+ gr.Markdown("Merge Dlsc里,可以合并scores值文件和dlkcat文件,注意这两个文件序列需要一致")
22
  with gr.Tab("Sort"):
23
  file1_input = gr.File(label="输入相关文件")
24
  file1_output = gr.File()
 
53
  with gr.Tab("Test"):
54
  file6_input = gr.File(label="输入相关文件")
55
  file6_output = gr.File()
56
+ file6_button = gr.Button("Prediction_Dlkcat")
57
 
58
  with gr.Accordion("Open for More!"):
59
  gr.Markdown("Look at me...")