Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,7 +4,7 @@ import requests
|
|
| 4 |
def chat_with_pdf(content):
|
| 5 |
api_key = os.getenv('CHATPDFKEY')
|
| 6 |
|
| 7 |
-
|
| 8 |
"x-api-key": api_key,
|
| 9 |
"Content-Type": "application/json",
|
| 10 |
}
|
|
|
|
| 4 |
def chat_with_pdf(content):
|
| 5 |
api_key = os.getenv('CHATPDFKEY')
|
| 6 |
|
| 7 |
+
headers = {
|
| 8 |
"x-api-key": api_key,
|
| 9 |
"Content-Type": "application/json",
|
| 10 |
}
|