cta2106 commited on
Commit
11448ab
1 Parent(s): 6431a8f

fixed function

Browse files
Files changed (1) hide show
  1. api.py +1 -1
api.py CHANGED
@@ -39,4 +39,4 @@ async def run_query(query: str):
39
  return pipeline.run(query=query)
40
 
41
 
42
- gr.Interface(predict_fn, "textbox", ["label", "label"]).launch()
 
39
  return pipeline.run(query=query)
40
 
41
 
42
+ gr.Interface(run_query, "textbox", ["label", "label"]).launch()