Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,9 @@
|
|
|
|
1 |
import openai
|
2 |
import gradio as gr
|
3 |
|
4 |
-
|
5 |
-
hf_api_key =
|
6 |
|
7 |
def predict(message, history):
|
8 |
history_openai_format = []
|
|
|
1 |
+
import os
|
2 |
import openai
|
3 |
import gradio as gr
|
4 |
|
5 |
+
os.environ["OPEN_API_KEY"]
|
6 |
+
hf_api_key ="HF_API_Key"
|
7 |
|
8 |
def predict(message, history):
|
9 |
history_openai_format = []
|