hd-hg commited on
Commit
863a649
·
verified ·
1 Parent(s): d894cfd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -57,6 +57,9 @@ def get_healthy_cheat_meal(diet_type: str) -> List[Dict[str, Any]]:
57
  except Exception as e:
58
  return [{"error": f"An error occurred while searching: {str(e)}"}]
59
 
 
 
 
60
  # If the agent does not answer, the model is overloaded, please use another model or the following Hugging Face Endpoint that also contains qwen2.5 coder:
61
  # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
62
 
 
57
  except Exception as e:
58
  return [{"error": f"An error occurred while searching: {str(e)}"}]
59
 
60
+ # Initialize tools
61
+ final_answer = FinalAnswerTool()
62
+
63
  # If the agent does not answer, the model is overloaded, please use another model or the following Hugging Face Endpoint that also contains qwen2.5 coder:
64
  # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
65