Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,12 +10,20 @@ def run_search(age, sex, state, keywords):
|
|
| 10 |
)
|
| 11 |
return results
|
| 12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
with gr.Blocks() as demo:
|
| 14 |
gr.Markdown("# Clinical Trials Search Tool")
|
| 15 |
gr.Markdown(
|
| 16 |
"Find **recruiting US clinical trials** that match your **age**, **sex**, "
|
| 17 |
"**state**, and optional **keywords**."
|
| 18 |
)
|
|
|
|
| 19 |
|
| 20 |
with gr.Row():
|
| 21 |
age_input = gr.Number(label="Your Age", value=30)
|
|
|
|
| 10 |
)
|
| 11 |
return results
|
| 12 |
|
| 13 |
+
# Custom CSS for background
|
| 14 |
+
custom_css = """
|
| 15 |
+
body {
|
| 16 |
+
background-color: #e0f7fa; /* light cyan */
|
| 17 |
+
}
|
| 18 |
+
"""
|
| 19 |
+
|
| 20 |
with gr.Blocks() as demo:
|
| 21 |
gr.Markdown("# Clinical Trials Search Tool")
|
| 22 |
gr.Markdown(
|
| 23 |
"Find **recruiting US clinical trials** that match your **age**, **sex**, "
|
| 24 |
"**state**, and optional **keywords**."
|
| 25 |
)
|
| 26 |
+
|
| 27 |
|
| 28 |
with gr.Row():
|
| 29 |
age_input = gr.Number(label="Your Age", value=30)
|