SuperNova672 commited on
Commit
935bae0
1 Parent(s): fb262b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ def process(query, file, correct_answer):
11
  table = pd.read_csv(file.name).astype(str).fillna('')
12
  #table = table[:rows] if rows else table
13
  result_tapas = pipe_tapas(table = table, query = query)
14
- return result_tapas['answer'], correct_answer
15
 
16
 
17
  query_text = gr.Text(label = "Enter a question")
 
11
  table = pd.read_csv(file.name).astype(str).fillna('')
12
  #table = table[:rows] if rows else table
13
  result_tapas = pipe_tapas(table = table, query = query)
14
+ return result_tapas['answer']
15
 
16
 
17
  query_text = gr.Text(label = "Enter a question")