Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -52,13 +52,13 @@ st.set_page_config(page_title="IESCO Query Application", layout="wide")
|
|
| 52 |
|
| 53 |
# # Main UI layout
|
| 54 |
st.title("IESCO Query Application")
|
| 55 |
-
st.markdown("""
|
| 56 |
-
<style>
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
</style>
|
| 61 |
-
""", unsafe_allow_html=True)
|
| 62 |
|
| 63 |
st.markdown("<div class='main-content'>", unsafe_allow_html=True)
|
| 64 |
|
|
@@ -77,14 +77,4 @@ if st.button("Submit"):
|
|
| 77 |
else:
|
| 78 |
st.error("Please enter a query.")
|
| 79 |
|
| 80 |
-
st.markdown("</div>", unsafe_allow_html=True)
|
| 81 |
-
|
| 82 |
-
# # Customize the theme and color contrast
|
| 83 |
-
# st.markdown("""
|
| 84 |
-
# <style>
|
| 85 |
-
# .css-1aumxhk {background-color: #E8EAF6;}
|
| 86 |
-
# .stTextInput>div>div>input {border-color: #3f51b5;}
|
| 87 |
-
# .stTextArea>div>div>textarea {border-color: #3f51b5;}
|
| 88 |
-
# .stButton>button {background-color: #3f51b5; color: white; font-size: 16px;}
|
| 89 |
-
# </style>
|
| 90 |
-
# """, unsafe_allow_html=True)
|
|
|
|
| 52 |
|
| 53 |
# # Main UI layout
|
| 54 |
st.title("IESCO Query Application")
|
| 55 |
+
# st.markdown("""
|
| 56 |
+
# <style>
|
| 57 |
+
# .main-content {background-color: #f0f2f6; padding: 20px; border-radius: 10px;}
|
| 58 |
+
# .stButton>button {background-color: #4CAF50; color: white; font-size: 16px; border-radius: 10px;}
|
| 59 |
+
# .stTextInput>div>div>input {background-color: #f0f2f6; color: black; border-radius: 5px;}
|
| 60 |
+
# </style>
|
| 61 |
+
# """, unsafe_allow_html=True)
|
| 62 |
|
| 63 |
st.markdown("<div class='main-content'>", unsafe_allow_html=True)
|
| 64 |
|
|
|
|
| 77 |
else:
|
| 78 |
st.error("Please enter a query.")
|
| 79 |
|
| 80 |
+
# st.markdown("</div>", unsafe_allow_html=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|