Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
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 |
|