fschwartzer commited on
Commit
3b9304d
1 Parent(s): b9d44d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -24,14 +24,14 @@ def response(user_question, table_data):
24
  ans = tokenizer.batch_decode(outputs, skip_special_tokens=True)
25
 
26
  query_result = {
27
- "query": query,
28
  "answer": ans[0]
29
  }
30
 
31
  b = datetime.datetime.now()
32
  print(b - a)
33
 
34
- return query_result, table
35
 
36
  # Streamlit interface
37
  st.markdown("""
 
24
  ans = tokenizer.batch_decode(outputs, skip_special_tokens=True)
25
 
26
  query_result = {
27
+ "query": user_question,
28
  "answer": ans[0]
29
  }
30
 
31
  b = datetime.datetime.now()
32
  print(b - a)
33
 
34
+ return query_result
35
 
36
  # Streamlit interface
37
  st.markdown("""