Spaces:
Running
Running
| import os | |
| import sys | |
| # 1. Add the 'src' folder to the Python path so we can import 'gecora' | |
| sys.path.append(os.path.join(os.path.dirname(__file__), "src")) | |
| from gecora.logic.loomis_painter import LoomisPainterApp | |
| app = LoomisPainterApp( | |
| root_path="./", dataset_path="data/", hf_repo_id="Markus-Pobitzer/gecora-wlp", desired_num_selections=40 | |
| ) | |
| app.launch() | |