Circhastic commited on
Commit
37b261d
1 Parent(s): 44ca278

Version 1 hotfix #33 for merge

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -360,9 +360,9 @@ if (st.session_state.uploaded):
360
  col[0].subheader(f"Forecasted sales in the next {period} days")
361
  col[0].write(df)
362
  with col[1]:
363
- with col[1].form("question_form"):
364
- question = col[1].text_input('Ask a Question about the Forecasted Data', placeholder="What is the total sales in the month of December?")
365
- query_button = col[1].form_submit_button(label='Generate Answer')
366
  if query_button or question:
367
  answer = get_converted_answer(df, question)
368
  if answer is not None:
 
360
  col[0].subheader(f"Forecasted sales in the next {period} days")
361
  col[0].write(df)
362
  with col[1]:
363
+ with st.form("question_form"):
364
+ question = st.text_input('Ask a Question about the Forecasted Data', placeholder="What is the total sales in the month of December?")
365
+ query_button = st.form_submit_button(label='Generate Answer')
366
  if query_button or question:
367
  answer = get_converted_answer(df, question)
368
  if answer is not None: