Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,6 +5,7 @@ import random
|
|
| 5 |
from pathlib import Path
|
| 6 |
from PyPDF2 import PdfReader
|
| 7 |
from openai import OpenAI
|
|
|
|
| 8 |
|
| 9 |
# Initialize the OpenAI client
|
| 10 |
api_key = os.getenv("OPENAI_API_KEY")
|
|
|
|
| 5 |
from pathlib import Path
|
| 6 |
from PyPDF2 import PdfReader
|
| 7 |
from openai import OpenAI
|
| 8 |
+
import os
|
| 9 |
|
| 10 |
# Initialize the OpenAI client
|
| 11 |
api_key = os.getenv("OPENAI_API_KEY")
|