stephenmccartney1234 commited on
Commit
00b1924
·
verified ·
1 Parent(s): 028658a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -3,8 +3,6 @@ import requests
3
 
4
  def chat_with_pdf(content):
5
  api_key = os.getenv('CHATPDFKEY')
6
- if not api_key:
7
- return "API key (CHATPDFKEY) not set in environment variables."
8
 
9
  headers = {
10
  "x-api-key": api_key,
 
3
 
4
  def chat_with_pdf(content):
5
  api_key = os.getenv('CHATPDFKEY')
 
 
6
 
7
  headers = {
8
  "x-api-key": api_key,