Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,8 +26,6 @@ st.markdown("""
|
|
| 26 |
font-family: Arial, Helvetica, sans-serif;
|
| 27 |
color: #FFFFFF;
|
| 28 |
margin-top: -80px;
|
| 29 |
-
padding-left: 80px;
|
| 30 |
-
padding-right: 80px;
|
| 31 |
padding-top: 5px;
|
| 32 |
padding-bottom: 5px;
|
| 33 |
#border-bottom: 2px solid #FFFF00;
|
|
@@ -42,6 +40,8 @@ st.markdown("""
|
|
| 42 |
visibility: hidden;
|
| 43 |
}
|
| 44 |
#main-content {
|
|
|
|
|
|
|
| 45 |
padding-top: 0;
|
| 46 |
}
|
| 47 |
</style>
|
|
@@ -100,18 +100,6 @@ st.markdown("""
|
|
| 100 |
- What are the average sales by region?
|
| 101 |
- Give me the monthly sales trend for the last year.
|
| 102 |
""")
|
| 103 |
-
# examples = [
|
| 104 |
-
# "Show me the top 10 products by sales.",
|
| 105 |
-
# "What are the average sales by region?",
|
| 106 |
-
# "Give me the monthly sales trend for the last year.",
|
| 107 |
-
# ]
|
| 108 |
-
|
| 109 |
-
# Display examples with a button to load them as input
|
| 110 |
-
# for example in examples:
|
| 111 |
-
# st.label(f"Ask: {example}")
|
| 112 |
-
# Set the example text in a temporary session key and submit
|
| 113 |
-
# st.session_state["example_input"] = example
|
| 114 |
-
# chat_actions() # Trigger chat as if user entered this example
|
| 115 |
|
| 116 |
with st.chat_message("assistant"):
|
| 117 |
st.write("Hello π How can I help you today?")
|
|
|
|
| 26 |
font-family: Arial, Helvetica, sans-serif;
|
| 27 |
color: #FFFFFF;
|
| 28 |
margin-top: -80px;
|
|
|
|
|
|
|
| 29 |
padding-top: 5px;
|
| 30 |
padding-bottom: 5px;
|
| 31 |
#border-bottom: 2px solid #FFFF00;
|
|
|
|
| 40 |
visibility: hidden;
|
| 41 |
}
|
| 42 |
#main-content {
|
| 43 |
+
padding-left: 80px;
|
| 44 |
+
padding-right: 80px;
|
| 45 |
padding-top: 0;
|
| 46 |
}
|
| 47 |
</style>
|
|
|
|
| 100 |
- What are the average sales by region?
|
| 101 |
- Give me the monthly sales trend for the last year.
|
| 102 |
""")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 103 |
|
| 104 |
with st.chat_message("assistant"):
|
| 105 |
st.write("Hello π How can I help you today?")
|