Spaces:
Sleeping
Sleeping
jschwaller
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -68,14 +68,15 @@ def main(prob1):
|
|
68 |
obj = adr_predict(text)
|
69 |
return obj[0], obj[1], obj[2]
|
70 |
|
71 |
-
title = "Welcome to **ADR
|
72 |
description1 = "This app takes text (up to a few sentences) and predicts to what extent the text describes severe (or non-severe) adverse reaction to medications. Please do NOT use for medical diagnosis."
|
73 |
|
74 |
css = """
|
75 |
-
body { font-family: 'Roboto', sans-serif; background-color: #
|
76 |
-
h1, h2, h3, h4, h5, h6 { color: #
|
77 |
-
.textbox { width: 100%; border-radius: 10px; border: 1px solid #ccc; }
|
78 |
-
.button { background-color: #
|
|
|
79 |
"""
|
80 |
|
81 |
with gr.Blocks(css=css) as demo:
|
|
|
68 |
obj = adr_predict(text)
|
69 |
return obj[0], obj[1], obj[2]
|
70 |
|
71 |
+
title = "Welcome to **ADR Tracker** "
|
72 |
description1 = "This app takes text (up to a few sentences) and predicts to what extent the text describes severe (or non-severe) adverse reaction to medications. Please do NOT use for medical diagnosis."
|
73 |
|
74 |
css = """
|
75 |
+
body { font-family: 'Roboto', sans-serif; background-color: #333; color: #87CEEB; }
|
76 |
+
h1, h2, h3, h4, h5, h6 { color: #FF6347; }
|
77 |
+
.textbox { width: 100%; border-radius: 10px; border: 1px solid #ccc; background-color: white; color: black; }
|
78 |
+
.button { background-color: #FF6347; color: white; border: none; border-radius: 10px; padding: 10px 20px; cursor: pointer; }
|
79 |
+
.markdown { color: #87CEEB; } /* Light blue text for all markdown elements */
|
80 |
"""
|
81 |
|
82 |
with gr.Blocks(css=css) as demo:
|