Update app.py
Browse files
app.py
CHANGED
@@ -98,7 +98,7 @@ def main(prob1):
|
|
98 |
obj = adr_predict(text)
|
99 |
return obj[0],obj[1],obj[2]
|
100 |
|
101 |
-
title = "Welcome to **
|
102 |
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 medicaitons. Please do NOT use for medical diagnosis."""
|
103 |
|
104 |
with gr.Blocks(title=title) as demo:
|
@@ -137,5 +137,4 @@ with gr.Blocks(title=title) as demo:
|
|
137 |
# , med, sym
|
138 |
], main, cache_examples=True)
|
139 |
|
140 |
-
demo.launch()
|
141 |
-
|
|
|
98 |
obj = adr_predict(text)
|
99 |
return obj[0],obj[1],obj[2]
|
100 |
|
101 |
+
title = "Welcome to **ADR Detector** 🪐"
|
102 |
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 medicaitons. Please do NOT use for medical diagnosis."""
|
103 |
|
104 |
with gr.Blocks(title=title) as demo:
|
|
|
137 |
# , med, sym
|
138 |
], main, cache_examples=True)
|
139 |
|
140 |
+
demo.launch()
|
|