LeoGitGuy commited on
Commit
bbf7997
1 Parent(s): def095c

path changed

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -15,7 +15,7 @@ table_reader_type = table_reader_types['tapas']
15
  pipeline = create_readers_and_pipeline(retriever, text_reader_type, table_reader_type, True, True)
16
 
17
 
18
- @app.get("/infer_q")
19
  def t5(input):
20
  prediction = pipeline.run(
21
  query=input, params={"top_k": 10}
 
15
  pipeline = create_readers_and_pipeline(retriever, text_reader_type, table_reader_type, True, True)
16
 
17
 
18
+ @app.get("/answer")
19
  def t5(input):
20
  prediction = pipeline.run(
21
  query=input, params={"top_k": 10}