mikethor007 commited on
Commit
230869d
·
verified ·
1 Parent(s): e57440b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -17,13 +17,14 @@ def _set_if_undefined(var: str):
17
  os.environ[var] = userdata.get(var)
18
 
19
  _set_if_undefined("TAVILY_API_KEY")
20
- _set_if_undefined("HUGGINGFACEHUB_API_TOKEN")
21
 
22
  # --- Basic Agent Definition ---
23
  # ----- THIS IS WERE YOU CAN BUILD WHAT YOU WANT ------
24
  class BasicAgent:
25
  def __init__(self):
26
  print("BasicAgent initialized.")
 
27
 
28
  # Generate the chat interface, including the tools
29
  llm = HuggingFaceEndpoint(
 
17
  os.environ[var] = userdata.get(var)
18
 
19
  _set_if_undefined("TAVILY_API_KEY")
20
+
21
 
22
  # --- Basic Agent Definition ---
23
  # ----- THIS IS WERE YOU CAN BUILD WHAT YOU WANT ------
24
  class BasicAgent:
25
  def __init__(self):
26
  print("BasicAgent initialized.")
27
+ _set_if_undefined("HUGGINGFACEHUB_API_TOKEN")
28
 
29
  # Generate the chat interface, including the tools
30
  llm = HuggingFaceEndpoint(