maaz77 commited on
Commit
c857094
1 Parent(s): 5616ac6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -5,6 +5,7 @@ from llama_index.core import VectorStoreIndex, SimpleDirectoryReader, ServiceCon
5
  from llama_index.llms.huggingface import HuggingFaceLLM as LlamaHuggingFaceLLM
6
  from llama_index.core.prompts.prompts import SimpleInputPrompt
7
  from llama_index.legacy.embeddings.langchain import LangchainEmbedding
 
8
 
9
  # Setup for caching the index and LLM to avoid reloading
10
  @st.cache(allow_output_mutation=True, suppress_st_warning=True)
 
5
  from llama_index.llms.huggingface import HuggingFaceLLM as LlamaHuggingFaceLLM
6
  from llama_index.core.prompts.prompts import SimpleInputPrompt
7
  from llama_index.legacy.embeddings.langchain import LangchainEmbedding
8
+ import torch
9
 
10
  # Setup for caching the index and LLM to avoid reloading
11
  @st.cache(allow_output_mutation=True, suppress_st_warning=True)