Spaces:
Runtime error
Runtime error
nkasmanoff
commited on
Commit
•
cb516f1
1
Parent(s):
bfc72f4
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,6 @@ db_lookup = DatasetRecommender()
|
|
5 |
def predict(input_text, option):
|
6 |
|
7 |
if option == "Semantic search":
|
8 |
-
|
9 |
response = db_lookup.recommend_based_on_text(input_text)
|
10 |
output = f"Message: {response['message']} \n \n Datasets: {' , '.join([x for x in response['datasets']])}"
|
11 |
elif option == 'Dataset similarity':
|
|
|
5 |
def predict(input_text, option):
|
6 |
|
7 |
if option == "Semantic search":
|
|
|
8 |
response = db_lookup.recommend_based_on_text(input_text)
|
9 |
output = f"Message: {response['message']} \n \n Datasets: {' , '.join([x for x in response['datasets']])}"
|
10 |
elif option == 'Dataset similarity':
|