Add text description to space
Browse files- __pycache__/app.cpython-311.pyc +0 -0
- app.py +6 -3
__pycache__/app.cpython-311.pyc
ADDED
|
Binary file (10.1 kB). View file
|
|
|
app.py
CHANGED
|
@@ -103,14 +103,17 @@ def run(r_filepath:Path, q_filepath:Path,
|
|
| 103 |
return score.name, score_vis.name, pickle_.name
|
| 104 |
|
| 105 |
with gr.Blocks() as demo:
|
| 106 |
-
gr.Markdown("
|
|
|
|
|
|
|
|
|
|
|
|
|
| 107 |
with gr.Row():
|
| 108 |
refs = gr.File(label="Upload REFERENCES.mgf",
|
| 109 |
interactive=True,
|
| 110 |
value='pesticides.mgf')
|
| 111 |
ques = gr.File(label="Upload QUERIES.mgf",
|
| 112 |
-
interactive=True,
|
| 113 |
-
value='pesticides.mgf')
|
| 114 |
with gr.Row():
|
| 115 |
tolerance = gr.Slider(minimum=0, maximum=1, value=0.1, label="Tolerance")
|
| 116 |
mz_power = gr.Slider(minimum=0, maximum=2, value=0.0, label="mz_power")
|
|
|
|
| 103 |
return score.name, score_vis.name, pickle_.name
|
| 104 |
|
| 105 |
with gr.Blocks() as demo:
|
| 106 |
+
gr.Markdown("""
|
| 107 |
+
# CudaMS - Faster mass spectrometry
|
| 108 |
+
Calculate cosine greedy similarity matrix using CUDA. See [main repo](https://github.com/tornikeo/cudams) for this project.
|
| 109 |
+
This approach is x100-x500 faster than [MatchMS](https://github.com/matchms/matchms/). Upload your MGF files below, or run the sample `pesticides.mgf` files against each other.
|
| 110 |
+
""")
|
| 111 |
with gr.Row():
|
| 112 |
refs = gr.File(label="Upload REFERENCES.mgf",
|
| 113 |
interactive=True,
|
| 114 |
value='pesticides.mgf')
|
| 115 |
ques = gr.File(label="Upload QUERIES.mgf",
|
| 116 |
+
interactive=True, value='pesticides.mgf')
|
|
|
|
| 117 |
with gr.Row():
|
| 118 |
tolerance = gr.Slider(minimum=0, maximum=1, value=0.1, label="Tolerance")
|
| 119 |
mz_power = gr.Slider(minimum=0, maximum=2, value=0.0, label="mz_power")
|