Shubham89 commited on
Commit
fd0a8ba
·
1 Parent(s): b97ad3f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -1,6 +1,7 @@
1
  import os
2
  #import openai
3
  import gradio as gr
 
4
 
5
  #if you have OpenAI API key as an environment variable, enable the below
6
  #openai.api_key = os.getenv("OPENAI_API_KEY")
 
1
  import os
2
  #import openai
3
  import gradio as gr
4
+ from llama_index import SimpleDirectoryReader, GPTListIndex, readers, GPTSimpleVectorIndex, LLMPredictor, PromptHelper, ServiceContext
5
 
6
  #if you have OpenAI API key as an environment variable, enable the below
7
  #openai.api_key = os.getenv("OPENAI_API_KEY")