Prathamesh1420 commited on
Commit
9419714
1 Parent(s): ca2fb8a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -5,10 +5,8 @@ from llama_index.core.agent import ReActAgent
5
  from llama_index.llms.ollama import Ollama
6
  from llama_index.core import VectorStoreIndex, SimpleDirectoryReader, Settings
7
  from llama_index.embeddings.huggingface import HuggingFaceEmbedding
8
- from llama_index.llms.ollama import Ollama
9
- from llama_index.core import Settings
10
  from llama_index.llms.groq import Groq
11
- from llama_index.core.document import Document
12
  import os
13
 
14
  # Streamlit app
@@ -42,4 +40,3 @@ if uploaded_file is not None:
42
  st.write("Answer:", response)
43
  else:
44
  st.write("Please upload a file to proceed.")
45
-
 
5
  from llama_index.llms.ollama import Ollama
6
  from llama_index.core import VectorStoreIndex, SimpleDirectoryReader, Settings
7
  from llama_index.embeddings.huggingface import HuggingFaceEmbedding
 
 
8
  from llama_index.llms.groq import Groq
9
+ from llama_index.data_structs import Document
10
  import os
11
 
12
  # Streamlit app
 
40
  st.write("Answer:", response)
41
  else:
42
  st.write("Please upload a file to proceed.")