Toumaima commited on
Commit
99dbe60
·
verified ·
1 Parent(s): a0bddc9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -90,7 +90,7 @@ class BasicAgent:
90
  agent = BasicAgent()
91
  except Exception as e:
92
  print(f"Error instantiating agent: {e}")
93
- return f"Error initializing agent: {e}", None
94
  # In the case of an app running as a hugging Face space, this link points toward your codebase (useful for others so please keep it public)
95
  agent_code = f"https://huggingface.co/spaces/{space_id}/tree/main"
96
  print(agent_code)
 
90
  agent = BasicAgent()
91
  except Exception as e:
92
  print(f"Error instantiating agent: {e}")
93
+ return f"Error initializing agent: {e}", None
94
  # In the case of an app running as a hugging Face space, this link points toward your codebase (useful for others so please keep it public)
95
  agent_code = f"https://huggingface.co/spaces/{space_id}/tree/main"
96
  print(agent_code)