jenniferzhou33 commited on
Commit
609dc5b
·
1 Parent(s): 0523e37

change 'gender' to 'sex'

Browse files
Files changed (1) hide show
  1. codes/gradio_utils.py +1 -1
codes/gradio_utils.py CHANGED
@@ -497,7 +497,7 @@ def launch_gradio(server_name, server_port):
497
  with gr.Row(visible=False) as r2:
498
  with gr.Column():
499
  age = gr.Number(label="Age")
500
- gender = gr.Radio(choices=["Male", "Female"], label="Gender")
501
  cna_events = gr.Textbox(lines=7, placeholder="Copy Number Alterations\n\nPlease enter the name of each gene followed by its corresponding CNA level. If you are entering data for multiple genes, separate each gene and its CNA level with a vertical bar '|'.\n\nFor example: RAF1 2 | PPARG 2", label="Genes with CNA Events")
502
  mutations = gr.Textbox(lines=7, placeholder="Somatic Mutations\n\nPlease enter the gene name, chromosome number, position of the variant, allele in the reference genome, and alternate allele. If you are entering data for multiple genes, separate each set of information with a vertical bar '|'.\n\nFor example: ERBB2, chr17, 37868208, C, T | CDKN1A, chr6, 36651880, -, GTCAGAACCGGCTGGGGATGTCC", label="MUTATIONS")
503
  submit_button = gr.Button("Submit")
 
497
  with gr.Row(visible=False) as r2:
498
  with gr.Column():
499
  age = gr.Number(label="Age")
500
+ gender = gr.Radio(choices=["Male", "Female"], label="Sex")
501
  cna_events = gr.Textbox(lines=7, placeholder="Copy Number Alterations\n\nPlease enter the name of each gene followed by its corresponding CNA level. If you are entering data for multiple genes, separate each gene and its CNA level with a vertical bar '|'.\n\nFor example: RAF1 2 | PPARG 2", label="Genes with CNA Events")
502
  mutations = gr.Textbox(lines=7, placeholder="Somatic Mutations\n\nPlease enter the gene name, chromosome number, position of the variant, allele in the reference genome, and alternate allele. If you are entering data for multiple genes, separate each set of information with a vertical bar '|'.\n\nFor example: ERBB2, chr17, 37868208, C, T | CDKN1A, chr6, 36651880, -, GTCAGAACCGGCTGGGGATGTCC", label="MUTATIONS")
503
  submit_button = gr.Button("Submit")