mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-06 20:54:59 +00:00
fix: Move imports to top of file
This commit is contained in:
parent
3b9f561956
commit
b2549a78bd
1 changed files with 2 additions and 4 deletions
|
@ -1,6 +1,8 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
|
import json
|
||||||
import os
|
import os
|
||||||
|
import shutil
|
||||||
import warnings
|
import warnings
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
|
@ -58,10 +60,6 @@ def fname_to_url(filepath):
|
||||||
return docid
|
return docid
|
||||||
|
|
||||||
|
|
||||||
import json
|
|
||||||
import shutil
|
|
||||||
|
|
||||||
|
|
||||||
def get_index():
|
def get_index():
|
||||||
from llama_index.core import (
|
from llama_index.core import (
|
||||||
Document,
|
Document,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue