Spaces:
Build error
Build error
Update logic.py
Browse files
logic.py
CHANGED
|
@@ -43,7 +43,6 @@ def load_index(token,name):
|
|
| 43 |
|
| 44 |
|
| 45 |
def get_index_pdf(token,name):
|
| 46 |
-
os.mkdir("data")
|
| 47 |
documents = SimpleDirectoryReader("./data").load_data()
|
| 48 |
print(documents)
|
| 49 |
print(documents)
|
|
|
|
| 43 |
|
| 44 |
|
| 45 |
def get_index_pdf(token,name):
|
|
|
|
| 46 |
documents = SimpleDirectoryReader("./data").load_data()
|
| 47 |
print(documents)
|
| 48 |
print(documents)
|