fdehlinger commited on
Commit
2ddf4d0
·
1 Parent(s): 5aff646

Add llama-index

Browse files
Files changed (3) hide show
  1. app.py +3 -0
  2. data/Englis4Youquestion.pdf +0 -0
  3. requirements.txt +1 -0
app.py CHANGED
@@ -1,4 +1,7 @@
1
  import gradio as gr
 
 
 
2
 
3
  def greet(name):
4
  return "Hello " + name + "!!"
 
1
  import gradio as gr
2
+ from llama_index.core import VectorStoreIndex, SimpleDirectoryReader
3
+ from llama_index.embeddings.huggingface import HuggingFaceEmbedding
4
+ from llama_index.core import Settings
5
 
6
  def greet(name):
7
  return "Hello " + name + "!!"
data/Englis4Youquestion.pdf ADDED
Binary file (49.9 kB). View file
 
requirements.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ llama-index==0.12.13