pdx97 commited on
Commit
23331b5
·
verified ·
1 Parent(s): 8cf77f5

Updated search function

Browse files

Updated search function for better readability and clarity

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -87,7 +87,7 @@ def search_papers(user_input):
87
  print(f"DEBUG: Results received - {results}") # Debug function output
88
 
89
  if isinstance(results, list) and results and isinstance(results[0], dict):
90
- #Format output with spacing and line breaks
91
  formatted_results = "\n\n".join([
92
  f"---\n\n"
93
  f"📌 **Title:**\n{paper['title']}\n\n"
 
87
  print(f"DEBUG: Results received - {results}") # Debug function output
88
 
89
  if isinstance(results, list) and results and isinstance(results[0], dict):
90
+ #Format output with better readability and clarity
91
  formatted_results = "\n\n".join([
92
  f"---\n\n"
93
  f"📌 **Title:**\n{paper['title']}\n\n"