rbughao commited on
Commit
3a70ad6
·
1 Parent(s): 25b11d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -3,9 +3,9 @@ import os
3
  import openai
4
  import gradio as gr
5
 
6
- ENV O_APIKey
7
 
8
- openai.api_key = O_APIKey
9
 
10
  #using a folder
11
  from llama_index import VectorStoreIndex, SimpleDirectoryReader, SummaryIndex, download_loader
 
3
  import openai
4
  import gradio as gr
5
 
6
+ ENV O_APIKey=$tokey
7
 
8
+ openai.api_key = $tokey
9
 
10
  #using a folder
11
  from llama_index import VectorStoreIndex, SimpleDirectoryReader, SummaryIndex, download_loader