wangleiofficial commited on
Commit
53a1e75
·
1 Parent(s): 45b7faf

add new annotation

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -39,7 +39,7 @@ with gr.Blocks() as demo:
39
  single_cutoff = gr.Slider(0, 1, step=0.1, value=0.5, interactive=True, label="Threshold")
40
  text_button = gr.Button("Submit")
41
  with gr.Column(scale=2):
42
- gr.Markdown("Note: the larger the probability score of neuropeptide output, the more likely it is to belong to neuropeptide. Generally, result greater than the threshold (default:0.5) is considered to belong to neuropeptides.")
43
  text_output = gr.outputs.Label(num_top_classes=2, label='Output')
44
  with gr.Tab("Batch Model"):
45
  with gr.Row():
@@ -56,7 +56,7 @@ with gr.Blocks() as demo:
56
  image_button = gr.Button("Submit")
57
  with gr.Column():
58
  # gr.Markdown(" ### Flip text or image files using this demo.")
59
- gr.Markdown("Note: the larger the probability score of neuropeptide output, the more likely it is to belong to neuropeptide. Generally, result greater than the threshold (default:0.5) is considered to belong to neuropeptides.")
60
  frame_output = gr.DataFrame(headers=["Sequence Id", "Sequence", "Probability of neuropeptides", "Neuropeptide"],
61
  datatype=["str", "str", "str", 'str'],)
62
 
 
39
  single_cutoff = gr.Slider(0, 1, step=0.1, value=0.5, interactive=True, label="Threshold")
40
  text_button = gr.Button("Submit")
41
  with gr.Column(scale=2):
42
+ gr.Markdown("Note: the output scores indicates the probability scores of the input sequence to be predicted as a neuropeptide or a non-neuropeptide.")
43
  text_output = gr.outputs.Label(num_top_classes=2, label='Output')
44
  with gr.Tab("Batch Model"):
45
  with gr.Row():
 
56
  image_button = gr.Button("Submit")
57
  with gr.Column():
58
  # gr.Markdown(" ### Flip text or image files using this demo.")
59
+ gr.Markdown("Note: the output scores indicates the probability scores of the input sequence to be predicted as a neuropeptide or a non-neuropeptide.")
60
  frame_output = gr.DataFrame(headers=["Sequence Id", "Sequence", "Probability of neuropeptides", "Neuropeptide"],
61
  datatype=["str", "str", "str", 'str'],)
62