Sakil commited on
Commit
162f56d
·
verified ·
1 Parent(s): 30dca24

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -24,7 +24,7 @@ def main():
24
  query_engine = PandasQueryEngine(df=df, llm=llm, verbose=True)
25
 
26
  # Input user question
27
- question = st.text_input("Ask a question about the data:")
28
 
29
  # Clear input field for question
30
  if st.button("Clear Question"):
@@ -37,4 +37,3 @@ def main():
37
 
38
  if __name__ == "__main__":
39
  main()
40
-
 
24
  query_engine = PandasQueryEngine(df=df, llm=llm, verbose=True)
25
 
26
  # Input user question
27
+ question = st.text_input("Ask a question about the data:", key="question")
28
 
29
  # Clear input field for question
30
  if st.button("Clear Question"):
 
37
 
38
  if __name__ == "__main__":
39
  main()