mirror of
https://github.com/Ladebeze66/ragflow_preprocess.git
synced 2026-02-04 05:50:26 +01:00
26 lines
541 B
Python
26 lines
541 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
|
|
"""
|
|
Programme de prétraitement PDF avec agents LLM modulables
|
|
"""
|
|
|
|
import sys
|
|
import os
|
|
from PyQt6.QtWidgets import QApplication
|
|
|
|
from ui.viewer import PDFViewer
|
|
|
|
def main():
|
|
"""Point d'entrée principal de l'application"""
|
|
app = QApplication(sys.argv)
|
|
app.setApplicationName("Prétraitement PDF pour Ragflow")
|
|
|
|
# Création de la fenêtre principale
|
|
main_window = PDFViewer()
|
|
main_window.show()
|
|
|
|
sys.exit(app.exec())
|
|
|
|
if __name__ == "__main__":
|
|
main() |