Spaces:
Sleeping
Sleeping
Commit ·
761da9a
1
Parent(s): 609dc5b
make mutations lowercase
Browse files- codes/gradio_utils.py +1 -1
codes/gradio_utils.py
CHANGED
|
@@ -499,7 +499,7 @@ def launch_gradio(server_name, server_port):
|
|
| 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="
|
| 503 |
submit_button = gr.Button("Submit")
|
| 504 |
with gr.Column():
|
| 505 |
predictions_output = gr.Textbox(label="Top 3 Predicted Cancer Types")
|
|
|
|
| 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")
|
| 504 |
with gr.Column():
|
| 505 |
predictions_output = gr.Textbox(label="Top 3 Predicted Cancer Types")
|