Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,13 +5,7 @@ from config import OPENAI_API_KEY
|
|
5 |
import os
|
6 |
openai.api_key = os.getenv("OPENAI_API_KEY")
|
7 |
|
8 |
-
import gradio as gr
|
9 |
-
import PyPDF2
|
10 |
-
import openai
|
11 |
-
from config import OPENAI_API_KEY
|
12 |
-
import os
|
13 |
|
14 |
-
openai.api_key = OPENAI_API_KEY
|
15 |
|
16 |
class PDFChat:
|
17 |
def __init__(self):
|
|
|
5 |
import os
|
6 |
openai.api_key = os.getenv("OPENAI_API_KEY")
|
7 |
|
|
|
|
|
|
|
|
|
|
|
8 |
|
|
|
9 |
|
10 |
class PDFChat:
|
11 |
def __init__(self):
|