cta2106
commited on
Commit
•
11448ab
1
Parent(s):
6431a8f
fixed function
Browse files
api.py
CHANGED
@@ -39,4 +39,4 @@ async def run_query(query: str):
|
|
39 |
return pipeline.run(query=query)
|
40 |
|
41 |
|
42 |
-
gr.Interface(
|
|
|
39 |
return pipeline.run(query=query)
|
40 |
|
41 |
|
42 |
+
gr.Interface(run_query, "textbox", ["label", "label"]).launch()
|