binaychandra commited on
Commit
a40b058
·
verified ·
1 Parent(s): edcfd7e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -8
app.py CHANGED
@@ -91,16 +91,21 @@ if "chat_history" not in st.session_state:
91
  st.session_state["chat_history"] = []
92
 
93
  # Example Section
94
- st.markdown("##### Try some example questions:")
95
- examples = [
96
- "Show me the top 10 products by sales.",
97
- "What are the average sales by region?",
98
- "Give me the monthly sales trend for the last year.",
99
- ]
 
 
 
 
 
100
 
101
  # Display examples with a button to load them as input
102
- for example in examples:
103
- st.label(f"Ask: {example}")
104
  # Set the example text in a temporary session key and submit
105
  # st.session_state["example_input"] = example
106
  # chat_actions() # Trigger chat as if user entered this example
 
91
  st.session_state["chat_history"] = []
92
 
93
  # Example Section
94
+ st.markdown("""
95
+ ###### Try some example questions:
96
+ - Show me the top 10 products by sales.
97
+ - What are the average sales by region?
98
+ - Give me the monthly sales trend for the last year.
99
+ """)
100
+ # examples = [
101
+ # "Show me the top 10 products by sales.",
102
+ # "What are the average sales by region?",
103
+ # "Give me the monthly sales trend for the last year.",
104
+ # ]
105
 
106
  # Display examples with a button to load them as input
107
+ # for example in examples:
108
+ # st.label(f"Ask: {example}")
109
  # Set the example text in a temporary session key and submit
110
  # st.session_state["example_input"] = example
111
  # chat_actions() # Trigger chat as if user entered this example