Spaces:
Paused
Paused
# 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() | |