Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -2,6 +2,7 @@ import openai
|
|
| 2 |
import gradio as gr
|
| 3 |
|
| 4 |
openai.api_key = "OPEN_AI_KEY"
|
|
|
|
| 5 |
|
| 6 |
def predict(message, history):
|
| 7 |
history_openai_format = []
|
|
|
|
| 2 |
import gradio as gr
|
| 3 |
|
| 4 |
openai.api_key = "OPEN_AI_KEY"
|
| 5 |
+
hf_api_key ='HF_API_KEY'
|
| 6 |
|
| 7 |
def predict(message, history):
|
| 8 |
history_openai_format = []
|