Phoenix21 commited on
Commit
263ad5f
·
verified ·
1 Parent(s): f6bdd77

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ from pipeline import run_pipeline
3
  def ask_dailywellness(query: str) -> str:
4
  # Ensure that the query passed to run_with_chain is a valid string
5
  if isinstance(query, str):
6
- return run_with_chain(query)
7
  else:
8
  # If for some reason the query is not a string, return an error message
9
  return "Invalid input. Please enter a valid query."
 
3
  def ask_dailywellness(query: str) -> str:
4
  # Ensure that the query passed to run_with_chain is a valid string
5
  if isinstance(query, str):
6
+ return run_pipeline(query)
7
  else:
8
  # If for some reason the query is not a string, return an error message
9
  return "Invalid input. Please enter a valid query."