Spaces:
Runtime error
Runtime error
style
Browse files
app.py
CHANGED
|
@@ -20,7 +20,7 @@ st.sidebar.markdown(
|
|
| 20 |
font-size: 50px;
|
| 21 |
}
|
| 22 |
</style>
|
| 23 |
-
<p class="aligncenter">
|
| 24 |
""",
|
| 25 |
unsafe_allow_html=True,
|
| 26 |
)
|
|
@@ -86,23 +86,7 @@ if st.sidebar.button("Search"):
|
|
| 86 |
)
|
| 87 |
st.markdown(
|
| 88 |
"""
|
| 89 |
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
|
| 90 |
-
""",
|
| 91 |
-
unsafe_allow_html=True,
|
| 92 |
-
)
|
| 93 |
-
st.markdown(
|
| 94 |
-
f"""
|
| 95 |
-
<div class="row no-gutters mt-3 align-items-center">
|
| 96 |
-
Gaia Search 🌖🌏
|
| 97 |
-
<div class="col col-md-4">
|
| 98 |
-
<input class="form-control border-secondary rounded-pill pr-5" type="search" value="{query}" id="example-search-input2">
|
| 99 |
-
</div>
|
| 100 |
-
<div class="col-auto">
|
| 101 |
-
<button class="btn btn-outline-light text-dark border-0 rounded-pill ml-n5" type="button">
|
| 102 |
-
<i class="fa fa-search"></i>
|
| 103 |
-
</button>
|
| 104 |
-
</div>
|
| 105 |
-
</div>
|
| 106 |
""",
|
| 107 |
unsafe_allow_html=True,
|
| 108 |
)
|
|
@@ -133,12 +117,7 @@ if st.sidebar.button("Search"):
|
|
| 133 |
color: green;
|
| 134 |
margin-bottom: 0px;
|
| 135 |
}
|
| 136 |
-
|
| 137 |
-
.dark-mode {
|
| 138 |
-
color: white;
|
| 139 |
-
}
|
| 140 |
</style>
|
| 141 |
-
<button onclick="myFunction()">Toggle dark mode</button>
|
| 142 |
"""
|
| 143 |
+ rendered_results,
|
| 144 |
height=800,
|
|
|
|
| 20 |
font-size: 50px;
|
| 21 |
}
|
| 22 |
</style>
|
| 23 |
+
<p class="aligncenter">Streamlit Search</p>
|
| 24 |
""",
|
| 25 |
unsafe_allow_html=True,
|
| 26 |
)
|
|
|
|
| 86 |
)
|
| 87 |
st.markdown(
|
| 88 |
"""
|
| 89 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 90 |
""",
|
| 91 |
unsafe_allow_html=True,
|
| 92 |
)
|
|
|
|
| 117 |
color: green;
|
| 118 |
margin-bottom: 0px;
|
| 119 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 120 |
</style>
|
|
|
|
| 121 |
"""
|
| 122 |
+ rendered_results,
|
| 123 |
height=800,
|