Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,7 @@ import gradio as gr
|
|
4 |
from transformers import pipeline
|
5 |
import tempfile
|
6 |
import requests
|
|
|
7 |
client = OpenAI()
|
8 |
|
9 |
openai.api_key = os.getenv("OPENAI_API_KEY")
|
|
|
4 |
from transformers import pipeline
|
5 |
import tempfile
|
6 |
import requests
|
7 |
+
from openai import OpenAI
|
8 |
client = OpenAI()
|
9 |
|
10 |
openai.api_key = os.getenv("OPENAI_API_KEY")
|