Spaces:
Paused
Paused
File size: 725 Bytes
aa58e08 449f389 48090f8 aa58e08 8f2b908 c3f8a36 8f2b908 88ad66e 449f389 cef5670 f5df24b cef5670 f5df24b 48090f8 449f389 a1144aa |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
# import ingest
import sys
import os
# Diretório que você deseja listar
diretorio = os.path.dirname(__file__)
# Lista todos os arquivos no diretório
arquivos = os.listdir(diretorio)
# Imprime o nome de cada arquivo
for arquivo in arquivos:
if os.path.isfile(os.path.join(diretorio, arquivo)):
print(arquivo)
data_path = os.path.join(os.path.dirname(__file__), '..')
# Add the data directory to sys.path
sys.path.append(data_path)
from localGPTUI import frontend
localGPTUI.main()
# ingest.main()
data_path = os.path.join(os.path.dirname(__file__), 'localGPTUI')
# Add the data directory to sys.path
sys.path.append(data_path)
from localGPTUI import frontend
frontend.main()
# ingest.main()
|