VatsalPatel18 commited on
Commit
1c40862
1 Parent(s): 1e237a2

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -1
main.py CHANGED
@@ -6,12 +6,13 @@ from langchain.agents import initialize_agent
6
  from functions import get_weather_info, get_forecast, shutdown
7
  from huggingface_hub import hf_hub_download
8
 
9
-
10
  # Download the model directly in the app
11
  model_path = hf_hub_download(
12
  repo_id="microsoft/Phi-3-mini-4k-instruct-gguf",
13
  filename="Phi-3-mini-4k-instruct-q4.gguf"))
14
 
 
15
  # Initialize the LlamaCpp model
16
  llm = LlamaCpp(
17
  model_path=model_path,
 
6
  from functions import get_weather_info, get_forecast, shutdown
7
  from huggingface_hub import hf_hub_download
8
 
9
+ print('goinf to download model')
10
  # Download the model directly in the app
11
  model_path = hf_hub_download(
12
  repo_id="microsoft/Phi-3-mini-4k-instruct-gguf",
13
  filename="Phi-3-mini-4k-instruct-q4.gguf"))
14
 
15
+ print('going to initialize model')
16
  # Initialize the LlamaCpp model
17
  llm = LlamaCpp(
18
  model_path=model_path,