Update app.py
Browse files
app.py
CHANGED
@@ -37,34 +37,36 @@ css = """
|
|
37 |
|
38 |
h1 {
|
39 |
text-align: center;
|
40 |
-
display:block;
|
41 |
}
|
42 |
-
|
43 |
-
|
44 |
-
color:
|
45 |
-
|
46 |
-
|
|
|
47 |
box-shadow: 0 0 10px rgba(11,15,26,1);
|
48 |
-
display: inline-flex;
|
49 |
flex-direction: column;
|
50 |
-
justify-content: center;
|
51 |
-
align-items: center;
|
52 |
-
margin: auto;
|
53 |
}
|
54 |
|
55 |
-
.
|
|
|
56 |
background-color: #1e2936;
|
57 |
border-radius: 5px;
|
58 |
-
color: white !important;
|
59 |
padding: 10px;
|
60 |
box-shadow: 0 0 10px rgba(0,0,0,0.3);
|
61 |
-
padding-left: 20px;
|
62 |
-
text-align: left;
|
63 |
-
list-style-position: inside
|
64 |
}
|
65 |
|
66 |
footer {
|
67 |
-
display:none !important
|
68 |
}
|
69 |
"""
|
70 |
|
@@ -111,7 +113,7 @@ def predict_image(input_image, input_file):
|
|
111 |
|
112 |
|
113 |
|
114 |
-
with gr.Blocks(title="Anatomy Aware axSpA") as iface:
|
115 |
|
116 |
gr.Markdown("# Anatomy-Aware Image Classification for radiographic axSpA")
|
117 |
#gr.Markdown(description_markdown)
|
|
|
37 |
|
38 |
h1 {
|
39 |
text-align: center;
|
40 |
+
display: block;
|
41 |
}
|
42 |
+
|
43 |
+
.gradio-container .styled-block {
|
44 |
+
background-color: #0b0f1a;
|
45 |
+
color: white !important;
|
46 |
+
padding: 10px;
|
47 |
+
border-radius: 5px;
|
48 |
box-shadow: 0 0 10px rgba(11,15,26,1);
|
49 |
+
display: inline-flex;
|
50 |
flex-direction: column;
|
51 |
+
justify-content: center;
|
52 |
+
align-items: center;
|
53 |
+
margin: auto;
|
54 |
}
|
55 |
|
56 |
+
.gradio-container .styled-block ul,
|
57 |
+
.gradio-container .styled-block ol {
|
58 |
background-color: #1e2936;
|
59 |
border-radius: 5px;
|
60 |
+
color: white !important;
|
61 |
padding: 10px;
|
62 |
box-shadow: 0 0 10px rgba(0,0,0,0.3);
|
63 |
+
padding-left: 20px;
|
64 |
+
text-align: left;
|
65 |
+
list-style-position: inside;
|
66 |
}
|
67 |
|
68 |
footer {
|
69 |
+
display: none !important;
|
70 |
}
|
71 |
"""
|
72 |
|
|
|
113 |
|
114 |
|
115 |
|
116 |
+
with gr.Blocks(css=css, title="Anatomy Aware axSpA") as iface:
|
117 |
|
118 |
gr.Markdown("# Anatomy-Aware Image Classification for radiographic axSpA")
|
119 |
#gr.Markdown(description_markdown)
|