Chan-Y commited on
Commit
dbb2c9a
·
verified ·
1 Parent(s): 27b1b52

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ def handle_file_upload(file, llm_name):
53
  global query_engine
54
  if torch.cuda.is_available():
55
  torch.cuda.empty_cache()
56
- Settings.llm = HuggingFaceLLM(model_name=llm_name)
57
 
58
  documents = process_file(file)
59
 
 
53
  global query_engine
54
  if torch.cuda.is_available():
55
  torch.cuda.empty_cache()
56
+ llm = HuggingFaceLLM(model_name=llm_name)
57
 
58
  documents = process_file(file)
59