BroBro87 commited on
Commit
495f0ac
1 Parent(s): dc2c31e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import sys
3
  import gradio as gr
4
  from llama_index import GPTVectorStoreIndex, SimpleDirectoryReader, ServiceContext
5
  from llama_index import OpenAIEmbedding
6
-
7
  logging.basicConfig(stream=sys.stdout, level=logging.INFO)
8
  logging.getLogger().addHandler(logging.StreamHandler(stream=sys.stdout))
9
  os.environ["OPENAI_API_KEY"] = os.getenv("OPENAI_API_KEY")
 
3
  import gradio as gr
4
  from llama_index import GPTVectorStoreIndex, SimpleDirectoryReader, ServiceContext
5
  from llama_index import OpenAIEmbedding
6
+ import os
7
  logging.basicConfig(stream=sys.stdout, level=logging.INFO)
8
  logging.getLogger().addHandler(logging.StreamHandler(stream=sys.stdout))
9
  os.environ["OPENAI_API_KEY"] = os.getenv("OPENAI_API_KEY")