vidwan commited on
Commit
a650f12
·
verified ·
1 Parent(s): beab459

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -87,7 +87,9 @@ def get_word_info(word:str) -> str:
87
  if not word_info:
88
  return "Sorry I was unable to find this word in my thesarus"
89
  else:
90
- return "The detailed definition of the {word} is -" + parse_word_info(word_info)
 
 
91
 
92
 
93
  @tool
 
87
  if not word_info:
88
  return "Sorry I was unable to find this word in my thesarus"
89
  else:
90
+ ret_str = parse_word_info(word_info)
91
+
92
+ return ret_str
93
 
94
 
95
  @tool