Spaces:
Sleeping
Sleeping
Walterchamy
commited on
Commit
•
b5e28bd
1
Parent(s):
6168dcc
Update app.py
Browse files
app.py
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
import os
|
2 |
-
import openai
|
3 |
from gtts import gTTS
|
4 |
import streamlit as st
|
5 |
-
|
6 |
|
7 |
client = OpenAI(
|
8 |
api_key=os.environ['OPENAI_API_KEY'], # this is also the default, it can be omitted
|
|
|
1 |
import os
|
2 |
+
import openai==0.28
|
3 |
from gtts import gTTS
|
4 |
import streamlit as st
|
5 |
+
from openai==0.28 import OpenAI
|
6 |
|
7 |
client = OpenAI(
|
8 |
api_key=os.environ['OPENAI_API_KEY'], # this is also the default, it can be omitted
|