Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -84,7 +84,7 @@ def main():
|
|
84 |
st.header("Chat with PDF")
|
85 |
|
86 |
# api_key = st.secrets["inference_api_key"]
|
87 |
-
api_key
|
88 |
user_question = st.text_input("Ask a Question from the PDF Files")
|
89 |
|
90 |
if user_question:
|
|
|
84 |
st.header("Chat with PDF")
|
85 |
|
86 |
# api_key = st.secrets["inference_api_key"]
|
87 |
+
api_key= os.environ["inference_api_key"]
|
88 |
user_question = st.text_input("Ask a Question from the PDF Files")
|
89 |
|
90 |
if user_question:
|