Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -84,18 +84,18 @@ css = """
|
|
84 |
|
85 |
"""
|
86 |
|
87 |
-
block = gr.Blocks(title="
|
88 |
|
89 |
block.queue()
|
90 |
|
91 |
with block as demo:
|
92 |
with gr.Column():
|
93 |
-
gr.Label("
|
94 |
-
gr.Label(
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
)
|
99 |
with gr.Row():
|
100 |
image_input = gr.Image(
|
101 |
type="filepath",
|
@@ -111,12 +111,12 @@ with block as demo:
|
|
111 |
)
|
112 |
gradcam_toggle = gr.Checkbox(label="GradCAM++")
|
113 |
lime_toggle = gr.Checkbox(label="LIME")
|
114 |
-
warning_of_slow = gr.Label(
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
)
|
120 |
with gr.Row():
|
121 |
submit_button = gr.Button(value="Submit")
|
122 |
gr.Markdown("<br>")
|
|
|
84 |
|
85 |
"""
|
86 |
|
87 |
+
block = gr.Blocks(title="NeuroDetect", css=css, theme="gradio/soft")
|
88 |
|
89 |
block.queue()
|
90 |
|
91 |
with block as demo:
|
92 |
with gr.Column():
|
93 |
+
gr.Label("NeuroDetect", elem_id="title-label", show_label=False)
|
94 |
+
# gr.Label(
|
95 |
+
# "A Stress-free, Portable, and Cost-effective Machine Learning-Powered Web Application for Early Detection of Multiple Neurological Disorders through Spiral Drawing Analysis",
|
96 |
+
# elem_id="desc-label",
|
97 |
+
# show_label=False,
|
98 |
+
# )
|
99 |
with gr.Row():
|
100 |
image_input = gr.Image(
|
101 |
type="filepath",
|
|
|
111 |
)
|
112 |
gradcam_toggle = gr.Checkbox(label="GradCAM++")
|
113 |
lime_toggle = gr.Checkbox(label="LIME")
|
114 |
+
# warning_of_slow = gr.Label(
|
115 |
+
# "Warning: Feature Explanation may take a very long time to load.",
|
116 |
+
# elem_id="warning_of_slow",
|
117 |
+
# color="red",
|
118 |
+
# show_label=False,
|
119 |
+
# )
|
120 |
with gr.Row():
|
121 |
submit_button = gr.Button(value="Submit")
|
122 |
gr.Markdown("<br>")
|