Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
import openai
|
2 |
-
|
3 |
openai.api_key=os.getenv("OPENAI_API_KEY")
|
4 |
|
5 |
from dotenv import load_dotenv
|
@@ -11,7 +11,7 @@ import requests, json
|
|
11 |
# import nltk
|
12 |
# nltk.download("punkt")
|
13 |
|
14 |
-
|
15 |
import shutil
|
16 |
from werkzeug.utils import secure_filename
|
17 |
from werkzeug.datastructures import FileStorage
|
|
|
1 |
import openai
|
2 |
+
import os
|
3 |
openai.api_key=os.getenv("OPENAI_API_KEY")
|
4 |
|
5 |
from dotenv import load_dotenv
|
|
|
11 |
# import nltk
|
12 |
# nltk.download("punkt")
|
13 |
|
14 |
+
|
15 |
import shutil
|
16 |
from werkzeug.utils import secure_filename
|
17 |
from werkzeug.datastructures import FileStorage
|