Spaces:
Sleeping
Sleeping
traopia
commited on
Commit
·
d6929a0
1
Parent(s):
a4877a2
spacey
Browse files
app.py
CHANGED
@@ -5,6 +5,9 @@ from src.generate_queries_alternative import main_generate_queries
|
|
5 |
import time
|
6 |
import pandas as pd
|
7 |
|
|
|
|
|
|
|
8 |
from src.visual_qa import main_text_retrieve_images
|
9 |
|
10 |
def handle_structured_query(question, sort_by=""):
|
|
|
5 |
import time
|
6 |
import pandas as pd
|
7 |
|
8 |
+
import spacy
|
9 |
+
spacy.cli.download("en_core_web_sm")
|
10 |
+
|
11 |
from src.visual_qa import main_text_retrieve_images
|
12 |
|
13 |
def handle_structured_query(question, sort_by=""):
|