Alexandre Gazola commited on
Commit
ba2a5c4
·
1 Parent(s): 857c202
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -82,8 +82,8 @@ def run_and_submit_all( profile: gr.OAuthProfile | None):
82
  try:
83
  agent = LangChainAgent()
84
  except Exception as e:
85
- print(f"Error instantiating agent: {e}")
86
- return f"Error initializing agent: {e}", None
87
 
88
  # In the case of an app running as a hugging Face space, this link points toward your codebase ( usefull for others so please keep it public)
89
  agent_code = f"https://huggingface.co/spaces/{space_id}/tree/main"
 
82
  try:
83
  agent = LangChainAgent()
84
  except Exception as e:
85
+ print(f"Error instantiating agent: {e}")
86
+ return f"Error initializing agent: {e}", None
87
 
88
  # In the case of an app running as a hugging Face space, this link points toward your codebase ( usefull for others so please keep it public)
89
  agent_code = f"https://huggingface.co/spaces/{space_id}/tree/main"