Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
|
2 |
import os
|
3 |
import streamlit as st
|
4 |
import openai
|
@@ -7,7 +7,7 @@ from sentence_transformers import CrossEncoder
|
|
7 |
import fitz # PyMuPDF library for PDF processing
|
8 |
import tempfile
|
9 |
|
10 |
-
|
11 |
|
12 |
openai.api_key = st.secrets['api_key']
|
13 |
|
|
|
1 |
+
from dotenv import load_dotenv
|
2 |
import os
|
3 |
import streamlit as st
|
4 |
import openai
|
|
|
7 |
import fitz # PyMuPDF library for PDF processing
|
8 |
import tempfile
|
9 |
|
10 |
+
load_dotenv()
|
11 |
|
12 |
openai.api_key = st.secrets['api_key']
|
13 |
|