Cheangys commited on
Commit
b6289b0
·
verified ·
1 Parent(s): 2bc5bf0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -80,10 +80,10 @@ def web_search(query: str) -> str:
80
  if isinstance(search_results, list) and len(search_results) > 0:
81
  return {search_results[0]}"
82
 
83
- return f"Could not find {stock}. Please try again."
84
 
85
  except Exception as e:
86
- return f"Error finding '{stock}': {str(e)}"
87
 
88
 
89
 
 
80
  if isinstance(search_results, list) and len(search_results) > 0:
81
  return {search_results[0]}"
82
 
83
+ return f"Could not find {query}. Please try again."
84
 
85
  except Exception as e:
86
+ return f"Error finding '{query}': {str(e)}"
87
 
88
 
89