Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 =
|
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
|