aait 1.0.5.2__tar.gz → 1.0.5.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (261) hide show
  1. {aait-1.0.5.2 → aait-1.0.5.3}/PKG-INFO +1 -3
  2. {aait-1.0.5.2 → aait-1.0.5.3}/aait.egg-info/PKG-INFO +1 -3
  3. {aait-1.0.5.2 → aait-1.0.5.3}/aait.egg-info/requires.txt +0 -2
  4. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/utils/subprocess_management.py +58 -11
  5. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWApplyRules.py +5 -1
  6. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWConcatRules.py +4 -1
  7. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWConverseLLM.py +4 -1
  8. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWCreateEmbeddings.py +4 -1
  9. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWExecuteScript.py +4 -1
  10. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWExtraChunks.py +4 -1
  11. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWFileWithPath.py +4 -1
  12. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWGenerateQuestions.py +4 -1
  13. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWGenerateSynthesis.py +4 -1
  14. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWInputSelector.py +5 -2
  15. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWLLM4ALL.py +4 -1
  16. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWLMStudio.py +4 -1
  17. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWLanguageDetection.py +4 -1
  18. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWLemmatizer.py +4 -1
  19. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWModel_CE_MiniLML6.py +4 -1
  20. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWModel_HelsinkiEnFr.py +4 -1
  21. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWModel_HelsinkiFrEn.py +4 -1
  22. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWModel_MPNET.py +4 -1
  23. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWModel_Mistral.py +4 -1
  24. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWModel_Qwen.py +4 -1
  25. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWModel_Qwen1B5_Q6.py +4 -1
  26. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWModel_Qwen2_5_32B.py +4 -1
  27. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWModel_Qwen7B_Q4.py +4 -1
  28. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWModel_Solar.py +4 -1
  29. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWModel_SolarUncensored.py +4 -1
  30. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWModel_SpacyMD_EN.py +4 -1
  31. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWModel_SpacyMD_FR.py +4 -1
  32. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWOptimisation.py +4 -1
  33. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWOptimisationSelection.py +4 -1
  34. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWOptimisationSendScore.py +4 -1
  35. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWProcessDocumentsFromPath.py +4 -1
  36. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWQueryLLM.py +4 -1
  37. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWRandomData.py +4 -1
  38. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWReranking.py +4 -1
  39. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWStartLoop.py +4 -1
  40. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWTable2Corpus.py +4 -1
  41. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWTranslation.py +4 -1
  42. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWTrigger.py +4 -1
  43. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/POW_Wfactory.py +4 -1
  44. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/IMG4IT/widgets/OWConvertImages.py +4 -1
  45. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/IMG4IT/widgets/OWPaddleOCR.py +4 -1
  46. {aait-1.0.5.2 → aait-1.0.5.3}/setup.py +1 -3
  47. {aait-1.0.5.2 → aait-1.0.5.3}/License.txt +0 -0
  48. {aait-1.0.5.2 → aait-1.0.5.3}/aait.egg-info/SOURCES.txt +0 -0
  49. {aait-1.0.5.2 → aait-1.0.5.3}/aait.egg-info/dependency_links.txt +0 -0
  50. {aait-1.0.5.2 → aait-1.0.5.3}/aait.egg-info/entry_points.txt +0 -0
  51. {aait-1.0.5.2 → aait-1.0.5.3}/aait.egg-info/namespace_packages.txt +0 -0
  52. {aait-1.0.5.2 → aait-1.0.5.3}/aait.egg-info/top_level.txt +0 -0
  53. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/__init__.py +0 -0
  54. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/audit_widget/SignalReceiver.py +0 -0
  55. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/audit_widget/__init__.py +0 -0
  56. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/audit_widget/audit_widget.py +0 -0
  57. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/audit_widget/dataTests/00079473A - Copie (2).TIF +0 -0
  58. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/audit_widget/dataTests/00079473A - Copie (3).TIF +0 -0
  59. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/audit_widget/dataTests/00079473A - Copie (4).TIF +0 -0
  60. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/audit_widget/dataTests/Tir 81mm_0001.csv +0 -0
  61. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/audit_widget/dataTests/Tir 81mm_0002.csv +0 -0
  62. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/audit_widget/dataTests/Tir 81mm_0003.csv +0 -0
  63. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/audit_widget/dynamic_results.py +0 -0
  64. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/audit_widget/test_all_widgets.py +0 -0
  65. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/audit_widget/test_server.py +0 -0
  66. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/audit_widget/widget_4all.py +0 -0
  67. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/audit_widget/widget_chunking.py +0 -0
  68. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/audit_widget/widget_edit_table.py +0 -0
  69. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/audit_widget/widget_mpnet_create_embeddings.py +0 -0
  70. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/audit_widget/widget_optimisation.py +0 -0
  71. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/audit_widget/widget_optimisationselection.py +0 -0
  72. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/audit_widget/widget_powfactory.py +0 -0
  73. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/audit_widget/widget_queryllm.py +0 -0
  74. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/audit_widget/widget_spacy_md_fr_lemmatizer.py +0 -0
  75. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/audit_widget/widget_traduction.py +0 -0
  76. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/audit_widget/widgets_model.py +0 -0
  77. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/encapsulation/__init__.py +0 -0
  78. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/fix_torch/fix_torch_dll_error.py +0 -0
  79. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/fix_torch/libomp140.x86_64.dll +0 -0
  80. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/llm/GPT4ALL.py +0 -0
  81. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/llm/GPT4ALL_killer.py +0 -0
  82. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/llm/MergeBaseLora.py +0 -0
  83. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/llm/SERV_kill_workflow.py +0 -0
  84. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/llm/SERV_requests.py +0 -0
  85. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/llm/SERV_start_workflow.py +0 -0
  86. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/llm/Tutorial_Finetuning.py +0 -0
  87. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/llm/Tutorial_TestFinetuning.py +0 -0
  88. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/llm/__init__.py +0 -0
  89. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/llm/answers.py +0 -0
  90. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/llm/chunking.py +0 -0
  91. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/llm/embeddings.py +0 -0
  92. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/llm/finetuning.py +0 -0
  93. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/llm/functions_DatasetGeneration.py +0 -0
  94. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/llm/functions_Finetuning.py +0 -0
  95. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/llm/lemmes.py +0 -0
  96. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/llm/lmstudio.py +0 -0
  97. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/llm/main_DatasetGeneration.py +0 -0
  98. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/llm/main_Finetuning.py +0 -0
  99. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/llm/process_documents.py +0 -0
  100. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/llm/prompt_management.py +0 -0
  101. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/llm/quickpy.py +0 -0
  102. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/llm/test.py +0 -0
  103. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/llm/test_functions.py +0 -0
  104. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/llm/translations.py +0 -0
  105. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/optimiser/__init__.py +0 -0
  106. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/optimiser/optuna_multi.py +0 -0
  107. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/utils/CheckMetaData.py +0 -0
  108. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/utils/MetManagement.py +0 -0
  109. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/utils/SimpleDialogQt.py +0 -0
  110. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/utils/__init__.py +0 -0
  111. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/utils/aait_repo_file.py +0 -0
  112. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/utils/check_data_in.py +0 -0
  113. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/utils/delta_local_shared_fodler.py +0 -0
  114. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/utils/import_uic.py +0 -0
  115. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/utils/initialize_from_ini.py +0 -0
  116. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/utils/mac_utils.py +0 -0
  117. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/utils/shared_functions.py +0 -0
  118. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/utils/shared_variables.py +0 -0
  119. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/utils/thread_management.py +0 -0
  120. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/utils/tools/__init__.py +0 -0
  121. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/utils/tools/change_owcorpus.py +0 -0
  122. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/utils/tools/concat_splitted_pypi.py +0 -0
  123. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/utils/tools/first_time_check.py +0 -0
  124. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/utils/tools/owcorpus_ok.txt +0 -0
  125. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/utils/windows_utils.py +0 -0
  126. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWAAITResourcesManager.py +0 -0
  127. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWCN2rule_view.py +0 -0
  128. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWChunking.py +0 -0
  129. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWDisplayMD.py +0 -0
  130. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWEditTable.py +0 -0
  131. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWEndLoop.py +0 -0
  132. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWKeywords.py +0 -0
  133. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWModel_Falcon.py +0 -0
  134. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWModel_Qwen3B_Q4.py +0 -0
  135. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWModel_Qwen7B_Q6.py +0 -0
  136. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/OWSaveFilepathEntry.py +0 -0
  137. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/__init__.py +0 -0
  138. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/designer/owMarkdown.ui +0 -0
  139. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/designer/ow_in_or_out_path.ui +0 -0
  140. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/designer/ow_widget_random_data.ui +0 -0
  141. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/designer/owapplyrules.ui +0 -0
  142. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/designer/owchunking.ui +0 -0
  143. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/designer/owconcatrules.ui +0 -0
  144. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/designer/owconversellm.ui +0 -0
  145. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/designer/owembeddings.ui +0 -0
  146. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/designer/owendloop.ui +0 -0
  147. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/designer/owexecutescript.ui +0 -0
  148. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/designer/owextrachunks.ui +0 -0
  149. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/designer/owfilewithpath.ui +0 -0
  150. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/designer/owgeneratequestions.ui +0 -0
  151. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/designer/owgeneratesynthesis.ui +0 -0
  152. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/designer/owkeyword.ui +0 -0
  153. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/designer/owlangdetect.ui +0 -0
  154. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/designer/owlemmatizer.ui +0 -0
  155. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/designer/owllm4all.ui +0 -0
  156. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/designer/owloadworkflow.ui +0 -0
  157. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/designer/owmodel_ce_minilml6.ui +0 -0
  158. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/designer/owmodel_falcon.ui +0 -0
  159. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/designer/owmodel_helsinki_en_fr.ui +0 -0
  160. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/designer/owmodel_helsinki_fr_en.ui +0 -0
  161. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/designer/owmodel_mistral.ui +0 -0
  162. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/designer/owmodel_mpnet.ui +0 -0
  163. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/designer/owmodel_qwen.ui +0 -0
  164. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/designer/owmodel_solar.ui +0 -0
  165. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/designer/owmodel_solar_uncensored.ui +0 -0
  166. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/designer/owmodel_spacymd_en.ui +0 -0
  167. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/designer/owmodel_spacymd_fr.ui +0 -0
  168. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/designer/ownumberpointinrules.ui +0 -0
  169. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/designer/owprocessdocuments.ui +0 -0
  170. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/designer/owqueryllm.ui +0 -0
  171. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/designer/owreranking.ui +0 -0
  172. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/designer/owstartloop.ui +0 -0
  173. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/designer/owtable2corpus.ui +0 -0
  174. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/designer/owtranslation.ui +0 -0
  175. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/designer/owtrigger.ui +0 -0
  176. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/CN2RuleViewer.svg +0 -0
  177. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/MDViewer.png +0 -0
  178. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/Mistral.png +0 -0
  179. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/apply_rules.svg +0 -0
  180. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/category.svg +0 -0
  181. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/dark_green.txt +0 -0
  182. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/de.png +0 -0
  183. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/documents.png +0 -0
  184. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/endloop.png +0 -0
  185. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/extra_chunks.png +0 -0
  186. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/in_or_out.png +0 -0
  187. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/input.png +0 -0
  188. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/keyword.png +0 -0
  189. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/languages.png +0 -0
  190. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/llm4all.svg +0 -0
  191. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/lm_studio.png +0 -0
  192. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/local_interf_img_multi_pull.svg +0 -0
  193. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/local_interf_multi_pull.svg +0 -0
  194. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/local_interf_pull.svg +0 -0
  195. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/local_interf_push.svg +0 -0
  196. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/local_interf_text_pull.svg +0 -0
  197. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/logo_solar.svg +0 -0
  198. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/logo_uncensoredsolar.svg +0 -0
  199. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/logo_upload.png +0 -0
  200. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/models.png +0 -0
  201. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/optimisation.png +0 -0
  202. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/optimizer.png +0 -0
  203. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/output.png +0 -0
  204. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/owCN2_intersect_rules.svg +0 -0
  205. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/owchunking.png +0 -0
  206. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/owconversellm.svg +0 -0
  207. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/owedittable.svg +0 -0
  208. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/owembeddings.svg +0 -0
  209. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/owexecutescript.svg +0 -0
  210. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/owfilewithpath.svg +0 -0
  211. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/owgeneratequestions.svg +0 -0
  212. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/owgeneratesynthesis.png +0 -0
  213. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/owlemmatizer.svg +0 -0
  214. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/owmodel_ce_minilml6.svg +0 -0
  215. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/owmodel_falcon.png +0 -0
  216. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/owmodel_helsinki_en_fr.svg +0 -0
  217. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/owmodel_helsinki_fr_en.svg +0 -0
  218. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/owmodel_mpnet.svg +0 -0
  219. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/owmodel_spacymd_en.svg +0 -0
  220. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/owmodel_spacymd_fr.svg +0 -0
  221. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/owoptimisation.svg +0 -0
  222. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/owoptimisationselection.png +0 -0
  223. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/owqueryllm.svg +0 -0
  224. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/owreranking.svg +0 -0
  225. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/owsavefilepathentry.svg +0 -0
  226. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/owtable2corpus.svg +0 -0
  227. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/owtranslation.svg +0 -0
  228. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/owtrigger.svg +0 -0
  229. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/processdocuments.svg +0 -0
  230. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/qwen-color.png +0 -0
  231. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/startloop.png +0 -0
  232. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/tools.png +0 -0
  233. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/AAIT/widgets/icons/widgetFactory.svg +0 -0
  234. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/ALGORITHM/__init__.py +0 -0
  235. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/ALGORITHM/widgets/__init__.py +0 -0
  236. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/API/__init__.py +0 -0
  237. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/API/widgets/__init__.py +0 -0
  238. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/IMG4IT/__init__.py +0 -0
  239. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/IMG4IT/utils/__init__.py +0 -0
  240. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/IMG4IT/widgets/__init__.py +0 -0
  241. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/IMG4IT/widgets/designer/__init__.py +0 -0
  242. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/IMG4IT/widgets/icons/__init__.py +0 -0
  243. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/IMG4IT/widgets/icons_dev/__init__.py +0 -0
  244. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/LLM_INTEGRATION/__init__.py +0 -0
  245. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/LLM_INTEGRATION/widgets/__init__.py +0 -0
  246. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/LLM_MODELS/__init__.py +0 -0
  247. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/LLM_MODELS/widgets/__init__.py +0 -0
  248. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/TOOLBOX/__init__.py +0 -0
  249. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/TOOLBOX/widgets/__init__.py +0 -0
  250. {aait-1.0.5.2 → aait-1.0.5.3}/orangecontrib/__init__.py +0 -0
  251. {aait-1.0.5.2 → aait-1.0.5.3}/setup.cfg +0 -0
  252. {aait-1.0.5.2 → aait-1.0.5.3}/tests/test_class_values_context_handler.py +0 -0
  253. {aait-1.0.5.2 → aait-1.0.5.3}/tests/test_credentials.py +0 -0
  254. {aait-1.0.5.2 → aait-1.0.5.3}/tests/test_domain_context_handler.py +0 -0
  255. {aait-1.0.5.2 → aait-1.0.5.3}/tests/test_gui.py +0 -0
  256. {aait-1.0.5.2 → aait-1.0.5.3}/tests/test_matplotlib_export.py +0 -0
  257. {aait-1.0.5.2 → aait-1.0.5.3}/tests/test_perfect_domain_context_handler.py +0 -0
  258. {aait-1.0.5.2 → aait-1.0.5.3}/tests/test_scatterplot_density.py +0 -0
  259. {aait-1.0.5.2 → aait-1.0.5.3}/tests/test_settings_handler.py +0 -0
  260. {aait-1.0.5.2 → aait-1.0.5.3}/tests/test_widgets_outputs.py +0 -0
  261. {aait-1.0.5.2 → aait-1.0.5.3}/tests/test_workflows.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aait
3
- Version: 1.0.5.2
3
+ Version: 1.0.5.3
4
4
  Summary: Advanced Artificial Intelligence Tools is a package meant to develop and enable advanced AI functionalities in Orange
5
5
  Home-page:
6
6
  Author: Orange community
@@ -16,8 +16,6 @@ Requires-Dist: sentencepiece==0.2.0
16
16
  Requires-Dist: optuna
17
17
  Requires-Dist: spacy==3.7.6
18
18
  Requires-Dist: markdown
19
- Requires-Dist: uvicorn
20
- Requires-Dist: fastapi
21
19
  Requires-Dist: python-multipart
22
20
  Requires-Dist: PyMuPDF==1.24.14
23
21
  Requires-Dist: chonkie==0.4.1
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: aait
3
- Version: 1.0.5.2
3
+ Version: 1.0.5.3
4
4
  Summary: Advanced Artificial Intelligence Tools is a package meant to develop and enable advanced AI functionalities in Orange
5
5
  Home-page:
6
6
  Author: Orange community
@@ -16,8 +16,6 @@ Requires-Dist: sentencepiece==0.2.0
16
16
  Requires-Dist: optuna
17
17
  Requires-Dist: spacy==3.7.6
18
18
  Requires-Dist: markdown
19
- Requires-Dist: uvicorn
20
- Requires-Dist: fastapi
21
19
  Requires-Dist: python-multipart
22
20
  Requires-Dist: PyMuPDF==1.24.14
23
21
  Requires-Dist: chonkie==0.4.1
@@ -7,8 +7,6 @@ sentencepiece==0.2.0
7
7
  optuna
8
8
  spacy==3.7.6
9
9
  markdown
10
- uvicorn
11
- fastapi
12
10
  python-multipart
13
11
  PyMuPDF==1.24.14
14
12
  chonkie==0.4.1
@@ -2,6 +2,9 @@ import subprocess
2
2
  import sys
3
3
  import os
4
4
  import psutil
5
+ import tempfile
6
+ import time
7
+ import shlex
5
8
 
6
9
  def open_hide_terminal(command, with_qt=True, env=None):
7
10
  """
@@ -97,7 +100,6 @@ def open_hide_terminal(command, with_qt=True, env=None):
97
100
  else:
98
101
  raise RuntimeError("Impossible d'ouvrir le terminal.")
99
102
 
100
-
101
103
  def open_terminal(command, with_qt=True, env=None):
102
104
  """
103
105
  /!\ attention command est une liste
@@ -128,25 +130,61 @@ def open_terminal(command, with_qt=True, env=None):
128
130
  command.insert(0,"/k")
129
131
  command.insert(0, "cmd.exe")
130
132
  process = subprocess.Popen(command, env=env,creationflags=subprocess.CREATE_NEW_CONSOLE)
133
+ if process:
134
+ return process.pid
135
+ else:
136
+ raise RuntimeError("Impossible d'ouvrir le terminal.")
131
137
  elif sys.platform.startswith("linux"):
132
138
  command_chaine = ' '.join(command)
133
139
  try:
134
140
  process = subprocess.Popen(["gnome-terminal", "--", "bash", "-c", command_chaine + "; exec bash"], env=env)
135
141
  except FileNotFoundError:
136
142
  process = subprocess.Popen(["x-terminal-emulator", "-e", "bash", "-c", command_chaine + "; exec bash"], env=env)
137
- elif sys.platform.startswith("darwin"):
138
- command_chaine = ' '.join(command)
139
- if with_qt == False:
140
- command_chaine = "QT_QPA_PLATFORM=offscreen "+command_chaine
141
- process = subprocess.Popen(["osascript", "-e", f'tell app "Terminal" to do script \"{command_chaine}\"'])
143
+ if process:
144
+ return process.pid
142
145
  else:
143
- process = subprocess.Popen(["osascript", "-e", f'tell app "Terminal" to do script \"{command_chaine}\"'])
144
- if process:
145
- return process.pid
146
- else:
147
- raise RuntimeError("Impossible d'ouvrir le terminal.")
146
+ raise RuntimeError("Impossible d'ouvrir le terminal.")
148
147
 
148
+ elif sys.platform.startswith("darwin"):
149
+ # macOS: on écrit $$ (PID du shell) dans un fichier, puis on remplace le shell avec exec
150
+ pidfile = tempfile.NamedTemporaryFile(delete=False)
151
+ pidfile_path = pidfile.name
152
+ pidfile.close()
149
153
 
154
+ command_chaine = ' '.join(shlex.quote(c) for c in command)
155
+ if not with_qt:
156
+ command_chaine = f"QT_QPA_PLATFORM=offscreen {command_chaine}"
157
+
158
+ # Important: "exec" pour que le shell soit remplacé par le vrai process
159
+ wrapped_command = f'echo $$ > {pidfile_path}; exec {command_chaine}'
160
+
161
+ applescript = f'''
162
+ tell application "Terminal"
163
+ do script "bash -c \\"{wrapped_command}\\""
164
+ end tell'''
165
+ osa_proc = subprocess.Popen(["osascript", "-e", applescript])
166
+ osa_proc.wait() # évite les zombies
167
+
168
+ # Attente active pour que le PID soit écrit
169
+ pid = None
170
+ for _ in range(30): # max 3 secondes
171
+ try:
172
+ with open(pidfile_path, "r") as f:
173
+ pid_str = f.read().strip()
174
+ if pid_str:
175
+ pid = int(pid_str)
176
+ break
177
+ except FileNotFoundError:
178
+ pass
179
+ time.sleep(0.1)
180
+
181
+ os.unlink(pidfile_path) # Nettoyage
182
+ if pid:
183
+ return pid
184
+ else:
185
+ raise RuntimeError("Impossible de récupérer le PID du processus lancé dans Terminal.")
186
+ else:
187
+ raise RuntimeError("Unsupported platform.")
150
188
 
151
189
 
152
190
  def execute_command(command: str, hidden: bool = True,env=None):
@@ -228,8 +266,17 @@ def kill_process_tree(pid):
228
266
  for child in children:
229
267
  print(f"Tuer enfant PID {child.pid} ({child.name()})")
230
268
  child.kill()
269
+
270
+ if sys.platform.startswith("darwin"):
271
+ # Attendre un peu pour que les enfants meurent proprement
272
+ gone, alive = psutil.wait_procs(children, timeout=3)
273
+ for p in alive:
274
+ print(f"Enfant PID {p.pid} n'a pas terminé, on le force")
275
+ p.kill()
276
+
231
277
  parent.kill()
232
278
  print(f"Processus principal {pid} tué.")
279
+
233
280
  except psutil.NoSuchProcess:
234
281
  print(f"Le processus {pid} n'existe pas.")
235
282
  except Exception as e:
@@ -18,6 +18,7 @@ else:
18
18
  from orangecontrib.AAIT.utils.initialize_from_ini import apply_modification_from_python_file
19
19
 
20
20
 
21
+
21
22
  @apply_modification_from_python_file(filepath_original_widget=__file__)
22
23
  class OWApplyRules(widget.OWWidget):
23
24
  name = "Apply Rules to data"
@@ -217,4 +218,7 @@ if __name__ == "__main__":
217
218
  app = QApplication(sys.argv)
218
219
  my_widget = OWApplyRules()
219
220
  my_widget.show()
220
- app.exec_()
221
+ if hasattr(app, "exec"):
222
+ app.exec()
223
+ else:
224
+ app.exec_()
@@ -233,4 +233,7 @@ if __name__ == "__main__":
233
233
  app = QApplication(sys.argv)
234
234
  my_widget = OWConcatRules()
235
235
  my_widget.show()
236
- app.exec_()
236
+ if hasattr(app, "exec"):
237
+ app.exec()
238
+ else:
239
+ app.exec_()
@@ -198,4 +198,7 @@ if __name__ == "__main__":
198
198
  app = QApplication(sys.argv)
199
199
  my_widget = OWConverseLLM()
200
200
  my_widget.show()
201
- app.exec_()
201
+ if hasattr(app, "exec"):
202
+ app.exec()
203
+ else:
204
+ app.exec_()
@@ -126,4 +126,7 @@ if __name__ == "__main__":
126
126
  app = QApplication(sys.argv)
127
127
  my_widget = OWCreateEmbeddings()
128
128
  my_widget.show()
129
- app.exec_()
129
+ if hasattr(app, "exec"):
130
+ app.exec()
131
+ else:
132
+ app.exec_()
@@ -150,4 +150,7 @@ if __name__ == "__main__":
150
150
  app = QApplication(sys.argv)
151
151
  my_widget = OWExecuteScript()
152
152
  my_widget.show()
153
- app.exec_()
153
+ if hasattr(app, "exec"):
154
+ app.exec()
155
+ else:
156
+ app.exec_()
@@ -174,4 +174,7 @@ if __name__ == "__main__":
174
174
  app = QApplication(sys.argv)
175
175
  window = OWExtraChunks()
176
176
  window.show()
177
- sys.exit(app.exec_())
177
+ if hasattr(app, "exec"):
178
+ app.exec()
179
+ else:
180
+ app.exec_()
@@ -87,4 +87,7 @@ if __name__ == "__main__":
87
87
  app = QApplication(sys.argv)
88
88
  my_widget = OWFileWithPath()
89
89
  my_widget.show()
90
- app.exec_()
90
+ if hasattr(app, "exec"):
91
+ app.exec()
92
+ else:
93
+ app.exec_()
@@ -394,4 +394,7 @@ if __name__ == "__main__":
394
394
  app = QApplication(sys.argv)
395
395
  my_widget = OWGenerateQuestions()
396
396
  my_widget.show()
397
- app.exec_()
397
+ if hasattr(app, "exec"):
398
+ app.exec()
399
+ else:
400
+ app.exec_()
@@ -369,7 +369,10 @@ if __name__ == "__main__":
369
369
  app = QApplication(sys.argv)
370
370
  my_widget = OWGenerateSynthesis()
371
371
  my_widget.show()
372
- app.exec_()
372
+ if hasattr(app, "exec"):
373
+ app.exec()
374
+ else:
375
+ app.exec_()
373
376
 
374
377
  # local_store_path = get_local_store_path()
375
378
  # model_name = "all-mpnet-base-v2"
@@ -307,7 +307,7 @@ class OWInputSelector(OWWidget):
307
307
 
308
308
  def select_file(self,multi_select,file_filtter):
309
309
  if os.name == 'nt':
310
- return windows_utils.select_new_file_ctypes(file_filter=file_filtter)
310
+ return windows_utils.select_file_ctypes(multi_select=multi_select, file_filter=file_filtter)
311
311
  print("a faire correctement sans qt sur mac (et linux")
312
312
  from AnyQt.QtWidgets import QFileDialog
313
313
  files, _ = QFileDialog.getOpenFileNames(
@@ -377,4 +377,7 @@ if __name__ == "__main__":
377
377
  app = QApplication(sys.argv)
378
378
  window = OWInputSelector()
379
379
  window.show()
380
- sys.exit(app.exec_())
380
+ if hasattr(app, "exec"):
381
+ app.exec()
382
+ else:
383
+ app.exec_()
@@ -297,4 +297,7 @@ if __name__ == "__main__":
297
297
  app = QApplication(sys.argv)
298
298
  my_widget = OWLLM4ALL()
299
299
  my_widget.show()
300
- app.exec_()
300
+ if hasattr(app, "exec"):
301
+ app.exec()
302
+ else:
303
+ app.exec_()
@@ -183,4 +183,7 @@ if __name__ == "__main__":
183
183
  app = QApplication(sys.argv)
184
184
  my_widget = OWLMStudio()
185
185
  my_widget.show()
186
- app.exec_()
186
+ if hasattr(app, "exec"):
187
+ app.exec()
188
+ else:
189
+ app.exec_()
@@ -89,4 +89,7 @@ if __name__ == "__main__":
89
89
  app = QApplication(sys.argv)
90
90
  ow = OWLanguageDetection()
91
91
  ow.show()
92
- app.exec_()
92
+ if hasattr(app, "exec"):
93
+ app.exec()
94
+ else:
95
+ app.exec_()
@@ -131,4 +131,7 @@ if __name__ == "__main__":
131
131
  app = QApplication(sys.argv)
132
132
  my_widget = OWLemmatizer()
133
133
  my_widget.show()
134
- app.exec_()
134
+ if hasattr(app, "exec"):
135
+ app.exec()
136
+ else:
137
+ app.exec_()
@@ -60,4 +60,7 @@ if __name__ == "__main__":
60
60
  app = QApplication(sys.argv)
61
61
  my_widget = OWModel_CE_MiniLML6()
62
62
  my_widget.show()
63
- app.exec_()
63
+ if hasattr(app, "exec"):
64
+ app.exec()
65
+ else:
66
+ app.exec_()
@@ -78,4 +78,7 @@ if __name__ == "__main__":
78
78
  app = QApplication(sys.argv)
79
79
  my_widget = OWModel_HelsinkiEnFr()
80
80
  my_widget.show()
81
- app.exec_()
81
+ if hasattr(app, "exec"):
82
+ app.exec()
83
+ else:
84
+ app.exec_()
@@ -78,4 +78,7 @@ if __name__ == "__main__":
78
78
  app = QApplication(sys.argv)
79
79
  my_widget = OWModel_HelsinkiFrEn()
80
80
  my_widget.show()
81
- app.exec_()
81
+ if hasattr(app, "exec"):
82
+ app.exec()
83
+ else:
84
+ app.exec_()
@@ -69,4 +69,7 @@ if __name__ == "__main__":
69
69
  app = QApplication(sys.argv)
70
70
  my_widget = OWModelMPNET()
71
71
  my_widget.show()
72
- app.exec_()
72
+ if hasattr(app, "exec"):
73
+ app.exec()
74
+ else:
75
+ app.exec_()
@@ -61,4 +61,7 @@ if __name__ == "__main__":
61
61
  app = QApplication(sys.argv)
62
62
  my_widget = OWModelMistral()
63
63
  my_widget.show()
64
- app.exec_()
64
+ if hasattr(app, "exec"):
65
+ app.exec()
66
+ else:
67
+ app.exec_()
@@ -61,4 +61,7 @@ if __name__ == "__main__":
61
61
  app = QApplication(sys.argv)
62
62
  my_widget = OWModelQwen()
63
63
  my_widget.show()
64
- app.exec_()
64
+ if hasattr(app, "exec"):
65
+ app.exec()
66
+ else:
67
+ app.exec_()
@@ -61,4 +61,7 @@ if __name__ == "__main__":
61
61
  app = QApplication(sys.argv)
62
62
  my_widget = OWModelQwenInstruct1B5Q4()
63
63
  my_widget.show()
64
- app.exec_()
64
+ if hasattr(app, "exec"):
65
+ app.exec()
66
+ else:
67
+ app.exec_()
@@ -61,4 +61,7 @@ if __name__ == "__main__":
61
61
  app = QApplication(sys.argv)
62
62
  my_widget = OWModelQwenInstruct3BQ4()
63
63
  my_widget.show()
64
- app.exec_()
64
+ if hasattr(app, "exec"):
65
+ app.exec()
66
+ else:
67
+ app.exec_()
@@ -61,4 +61,7 @@ if __name__ == "__main__":
61
61
  app = QApplication(sys.argv)
62
62
  my_widget = OWModelQwenInstruct7BQ4()
63
63
  my_widget.show()
64
- app.exec_()
64
+ if hasattr(app, "exec"):
65
+ app.exec()
66
+ else:
67
+ app.exec_()
@@ -61,4 +61,7 @@ if __name__ == "__main__":
61
61
  app = QApplication(sys.argv)
62
62
  my_widget = OWModelSolar()
63
63
  my_widget.show()
64
- app.exec_()
64
+ if hasattr(app, "exec"):
65
+ app.exec()
66
+ else:
67
+ app.exec_()
@@ -61,4 +61,7 @@ if __name__ == "__main__":
61
61
  app = QApplication(sys.argv)
62
62
  my_widget = OWModelSolarUncensored()
63
63
  my_widget.show()
64
- app.exec_()
64
+ if hasattr(app, "exec"):
65
+ app.exec()
66
+ else:
67
+ app.exec_()
@@ -61,4 +61,7 @@ if __name__ == "__main__":
61
61
  app = QApplication(sys.argv)
62
62
  my_widget = OWModelSpacyMDEN()
63
63
  my_widget.show()
64
- app.exec_()
64
+ if hasattr(app, "exec"):
65
+ app.exec()
66
+ else:
67
+ app.exec_()
@@ -61,4 +61,7 @@ if __name__ == "__main__":
61
61
  app = QApplication(sys.argv)
62
62
  my_widget = OWModelSpacyMDFR()
63
63
  my_widget.show()
64
- app.exec_()
64
+ if hasattr(app, "exec"):
65
+ app.exec()
66
+ else:
67
+ app.exec_()
@@ -197,7 +197,10 @@ if __name__ == "__main__":
197
197
  app = QApplication(sys.argv)
198
198
  mon_objet = Optimisation()
199
199
  mon_objet.show()
200
- app.exec_()
200
+ if hasattr(app, "exec"):
201
+ app.exec()
202
+ else:
203
+ app.exec_()
201
204
 
202
205
 
203
206
 
@@ -132,6 +132,9 @@ if __name__ == "__main__":
132
132
  app = QApplication(sys.argv)
133
133
  mon_objet = OWOptimisationSelection()
134
134
  mon_objet.show()
135
- app.exec_()
135
+ if hasattr(app, "exec"):
136
+ app.exec()
137
+ else:
138
+ app.exec_()
136
139
 
137
140
 
@@ -70,4 +70,7 @@ if __name__ == "__main__":
70
70
  app = QApplication(sys.argv)
71
71
  mon_objet = OWOptimisationSendScore()
72
72
  mon_objet.show()
73
- app.exec_()
73
+ if hasattr(app, "exec"):
74
+ app.exec()
75
+ else:
76
+ app.exec_()
@@ -87,4 +87,7 @@ if __name__ == "__main__":
87
87
  app = QApplication(sys.argv)
88
88
  my_widget = OWProcessDocumentsFromPath()
89
89
  my_widget.show()
90
- app.exec_()
90
+ if hasattr(app, "exec"):
91
+ app.exec()
92
+ else:
93
+ app.exec_()
@@ -206,4 +206,7 @@ if __name__ == "__main__":
206
206
  app = QApplication(sys.argv)
207
207
  my_widget = OWQueryLLM()
208
208
  my_widget.show()
209
- app.exec_()
209
+ if hasattr(app, "exec"):
210
+ app.exec()
211
+ else:
212
+ app.exec_()
@@ -312,7 +312,10 @@ if __name__ == "__main__":
312
312
  app = QApplication(sys.argv)
313
313
  obj = OWWidgetRandomData()
314
314
  obj.show()
315
- app.exec_()
315
+ if hasattr(app, "exec"):
316
+ app.exec()
317
+ else:
318
+ app.exec_()
316
319
 
317
320
 
318
321
 
@@ -193,4 +193,7 @@ if __name__ == "__main__":
193
193
  app = QApplication(sys.argv)
194
194
  my_widget = OWReranking()
195
195
  my_widget.show()
196
- app.exec_()
196
+ if hasattr(app, "exec"):
197
+ app.exec()
198
+ else:
199
+ app.exec_()
@@ -128,4 +128,7 @@ if __name__ == "__main__":
128
128
  app = QApplication(sys.argv)
129
129
  obj = LoopStartWidget()
130
130
  obj.show()
131
- app.exec_()
131
+ if hasattr(app, "exec"):
132
+ app.exec()
133
+ else:
134
+ app.exec_()
@@ -72,4 +72,7 @@ if __name__ == "__main__":
72
72
  app = QApplication(sys.argv)
73
73
  my_widget = OWTable2Corpus()
74
74
  my_widget.show()
75
- app.exec_()
75
+ if hasattr(app, "exec"):
76
+ app.exec()
77
+ else:
78
+ app.exec_()
@@ -129,4 +129,7 @@ if __name__ == "__main__":
129
129
  app = QApplication(sys.argv)
130
130
  my_widget = OWTranslation()
131
131
  my_widget.show()
132
- app.exec_()
132
+ if hasattr(app, "exec"):
133
+ app.exec()
134
+ else:
135
+ app.exec_()
@@ -69,4 +69,7 @@ if __name__ == "__main__":
69
69
  app = QApplication(sys.argv)
70
70
  my_widget = OWTrigger()
71
71
  my_widget.show()
72
- app.exec_()
72
+ if hasattr(app, "exec"):
73
+ app.exec()
74
+ else:
75
+ app.exec_()
@@ -149,4 +149,7 @@ if __name__ == "__main__":
149
149
  app = QApplication(sys.argv)
150
150
  my_widget = POW_Wfactory()
151
151
  my_widget.show()
152
- app.exec()
152
+ if hasattr(app, "exec"):
153
+ app.exec()
154
+ else:
155
+ app.exec_()
@@ -125,4 +125,7 @@ if __name__ == "__main__":
125
125
  app = QApplication(sys.argv)
126
126
  my_widget = OWConvertImages()
127
127
  my_widget.show()
128
- app.exec_()
128
+ if hasattr(app, "exec"):
129
+ sys.exit(app.exec())
130
+ else:
131
+ sys.exit(app.exec_())
@@ -207,4 +207,7 @@ if __name__ == "__main__":
207
207
  app = QApplication(sys.argv)
208
208
  my_widget = OWPaddleOCR()
209
209
  my_widget.show()
210
- app.exec_()
210
+ if hasattr(app, "exec"):
211
+ sys.exit(app.exec())
212
+ else:
213
+ sys.exit(app.exec_())
@@ -4,7 +4,7 @@ from setuptools import setup, find_packages
4
4
  NAME = "aait"
5
5
 
6
6
  # Version du package PyPI
7
- VERSION = "1.0.5.2" # la version doit être supérieure à la précédente sinon la publication sera refusée
7
+ VERSION = "1.0.5.3" # la version doit être supérieure à la précédente sinon la publication sera refusée
8
8
 
9
9
  # Facultatif / Adaptable à souhait
10
10
  AUTHOR = "Orange community"
@@ -44,8 +44,6 @@ INSTALL_REQUIRES = [
44
44
  "optuna",
45
45
  "spacy==3.7.6",
46
46
  "markdown",
47
- "uvicorn",
48
- "fastapi",
49
47
  "python-multipart",
50
48
  "PyMuPDF==1.24.14",
51
49
  "chonkie==0.4.1",
File without changes
File without changes