Ibraaheem commited on
Commit
b22594e
·
1 Parent(s): 7165c4a

Update private_gpt/launcher.py

Browse files
Files changed (1) hide show
  1. private_gpt/launcher.py +1 -0
private_gpt/launcher.py CHANGED
@@ -110,6 +110,7 @@ def create_app(root_injector: Injector) -> FastAPI:
110
 
111
  # Switch the model using the LLMComponent
112
  llm_component = root_injector.get(LLMComponent)
 
113
  llm_component.switch_to_model(new_model, settings=settings)
114
 
115
  # Return a success message
 
110
 
111
  # Switch the model using the LLMComponent
112
  llm_component = root_injector.get(LLMComponent)
113
+ print(type(llm_component)) # Output should show <class 'private_gpt.components.llm.LLMComponent'>
114
  llm_component.switch_to_model(new_model, settings=settings)
115
 
116
  # Return a success message