Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -359,7 +359,7 @@ def search_solutions_for_pairs(problem_description, top_pairs):
|
|
| 359 |
# Keep problem description out of the API query unless the API is designed for it
|
| 360 |
# query = f'"{tech_a_name}" AND "{tech_b_name}" patent OR research paper OR application'
|
| 361 |
# More targeted query:
|
| 362 |
-
query = f'Combining {tech_a_name} and {tech_b_name} for applications related to {problem_description}
|
| 363 |
|
| 364 |
params = {
|
| 365 |
'query': query,
|
|
|
|
| 359 |
# Keep problem description out of the API query unless the API is designed for it
|
| 360 |
# query = f'"{tech_a_name}" AND "{tech_b_name}" patent OR research paper OR application'
|
| 361 |
# More targeted query:
|
| 362 |
+
query = f'Combining {tech_a_name} and {tech_b_name} for applications related to {problem_description}' # Use snippet of problem
|
| 363 |
|
| 364 |
params = {
|
| 365 |
'query': query,
|