RamezCh commited on
Commit
86bca04
·
verified ·
1 Parent(s): 94ca79e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -7,6 +7,9 @@ from langgraph.prebuilt import tools_condition
7
  from langchain_huggingface import HuggingFaceEndpoint, ChatHuggingFace
8
  from tools import search_tool
9
  from retriever import game_info_tool
 
 
 
10
 
11
  # Generate the chat interface, including the tools
12
  llm = HuggingFaceEndpoint(
 
7
  from langchain_huggingface import HuggingFaceEndpoint, ChatHuggingFace
8
  from tools import search_tool
9
  from retriever import game_info_tool
10
+ import os
11
+
12
+ HUGGINGFACEHUB_API_TOKEN = os.environ.get("HUGGINGFACEHUB_API_TOKEN")
13
 
14
  # Generate the chat interface, including the tools
15
  llm = HuggingFaceEndpoint(