Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ import gradio as gr
|
|
| 8 |
import os
|
| 9 |
from sklearn.neighbors import NearestNeighbors
|
| 10 |
|
| 11 |
-
|
| 12 |
|
| 13 |
def download_pdf(url, output_path):
|
| 14 |
urllib.request.urlretrieve(url, output_path)
|
|
|
|
| 8 |
import os
|
| 9 |
from sklearn.neighbors import NearestNeighbors
|
| 10 |
|
| 11 |
+
openai.api_key = openAI
|
| 12 |
|
| 13 |
def download_pdf(url, output_path):
|
| 14 |
urllib.request.urlretrieve(url, output_path)
|