Spaces:
Build error
Build error
Update backend_utils.py
Browse files- backend_utils.py +1 -1
backend_utils.py
CHANGED
|
@@ -470,7 +470,7 @@ def make_predictions(input_query,
|
|
| 470 |
library_ids, library_names = retrieve_libraries(model_retrieval, input_query, db_metadata)
|
| 471 |
|
| 472 |
if len(library_ids) == 0:
|
| 473 |
-
return
|
| 474 |
|
| 475 |
print("generate usage patterns")
|
| 476 |
predictions = generate_api_usage_patterns_batch(
|
|
|
|
| 470 |
library_ids, library_names = retrieve_libraries(model_retrieval, input_query, db_metadata)
|
| 471 |
|
| 472 |
if len(library_ids) == 0:
|
| 473 |
+
return "null"
|
| 474 |
|
| 475 |
print("generate usage patterns")
|
| 476 |
predictions = generate_api_usage_patterns_batch(
|