notsakeeb commited on
Commit
0e504c6
·
verified ·
1 Parent(s): aefc95c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -14,6 +14,7 @@ from langchain_core.messages import AnyMessage, HumanMessage, SystemMessage
14
  from langgraph.graph import START, StateGraph
15
  from langchain_google_genai import ChatGoogleGenerativeAI
16
  from ToolSet import toolset
 
17
 
18
  # (Keep Constants as is)
19
  # --- Constants ---
@@ -23,6 +24,7 @@ DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
23
  # ----- THIS IS WERE YOU CAN BUILD WHAT YOU WANT ------
24
  gemini_api_key = os.getenv("GEMINI_API_KEY")
25
  tivaly_api_key = os.getenv("TAVILY_API_KEY")
 
26
 
27
  llm = ChatGoogleGenerativeAI(
28
  model="gemini-2.0-flash",
 
14
  from langgraph.graph import START, StateGraph
15
  from langchain_google_genai import ChatGoogleGenerativeAI
16
  from ToolSet import toolset
17
+ from ultralytics import settings
18
 
19
  # (Keep Constants as is)
20
  # --- Constants ---
 
24
  # ----- THIS IS WERE YOU CAN BUILD WHAT YOU WANT ------
25
  gemini_api_key = os.getenv("GEMINI_API_KEY")
26
  tivaly_api_key = os.getenv("TAVILY_API_KEY")
27
+ settings.update({"runs_dir": "yolov8n.pt"})
28
 
29
  llm = ChatGoogleGenerativeAI(
30
  model="gemini-2.0-flash",