Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -36,30 +36,28 @@ def MatchOMS(name):
|
|
36 |
|
37 |
|
38 |
with gr.Blocks() as demo:
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
|
|
|
|
|
|
45 |
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
|
|
|
|
|
|
|
|
50 |
|
51 |
-
button1 = gr.Button("Match LOINC Clinical Terminology")
|
52 |
button1.click(fn=MatchLOINC, inputs=name, outputs=output1)
|
53 |
-
|
54 |
-
button2 = gr.Button("Match LOINC Panels and Forms")
|
55 |
button2.click(fn=MatchLOINCPanelsandForms, inputs=name, outputs=output2)
|
56 |
-
|
57 |
-
button3 = gr.Button("Match SNOMED Clinical Terminology")
|
58 |
button3.click(fn=MatchSNOMED, inputs=name, outputs=output3)
|
59 |
-
|
60 |
-
button3 = gr.Button("Match SNOMED and OMS Clinical Terminology")
|
61 |
-
button3.click(fn=MatchOMS, inputs=name, outputs=output4)
|
62 |
-
|
63 |
-
|
64 |
|
65 |
demo.launch(debug=True)
|
|
|
36 |
|
37 |
|
38 |
with gr.Blocks() as demo:
|
39 |
+
with gr.Row():
|
40 |
+
name = gr.Textbox(label="Enter a term or word to match and find LOINC, SNOMED and OMS clinical terminologies.")
|
41 |
+
|
42 |
+
|
43 |
+
with gr.Row():
|
44 |
+
button1 = gr.Button("LOINC Terminology")
|
45 |
+
button2 = gr.Button("LOINC Panels and Forms")
|
46 |
+
button3 = gr.Button("SNOMED Clinical Terminology")
|
47 |
+
button4 = gr.Button("SNOMED and OMS Clinical Terminology")
|
48 |
|
49 |
+
with gr.Row():
|
50 |
+
output1 = gr.DataFrame(label="LOINC Terminology")
|
51 |
+
with gr.Row():
|
52 |
+
output2 = gr.DataFrame(label="LOINC Assessment Panels")
|
53 |
+
with gr.Row():
|
54 |
+
output3 = gr.DataFrame(label="SNOMED Terminology")
|
55 |
+
with gr.Row():
|
56 |
+
output4 = gr.DataFrame(label="SNOMED and OMS Terminology")
|
57 |
|
|
|
58 |
button1.click(fn=MatchLOINC, inputs=name, outputs=output1)
|
|
|
|
|
59 |
button2.click(fn=MatchLOINCPanelsandForms, inputs=name, outputs=output2)
|
|
|
|
|
60 |
button3.click(fn=MatchSNOMED, inputs=name, outputs=output3)
|
61 |
+
button4.click(fn=MatchOMS, inputs=name, outputs=output4)
|
|
|
|
|
|
|
|
|
62 |
|
63 |
demo.launch(debug=True)
|