Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,7 @@ import os
|
|
2 |
import openai
|
3 |
import gradio as gr
|
4 |
|
5 |
-
openai.api_key =
|
6 |
hf_t_key = ('HF_TOKEN_KEY')
|
7 |
|
8 |
def predict(message, history):
|
|
|
2 |
import openai
|
3 |
import gradio as gr
|
4 |
|
5 |
+
openai.api_key = os.getenv('OPEN_AI_KEY')
|
6 |
hf_t_key = ('HF_TOKEN_KEY')
|
7 |
|
8 |
def predict(message, history):
|