synthdatagen / app.py
Lizk75's picture
[fix] Return output_dir from build_ui for Hugging Face file access
68aebec
raw
history blame contribute delete
277 Bytes
from src.ui import build_ui
if __name__ == "__main__":
# Build the user interface
ui, output_dir = build_ui()
# Launch the UI in the browser with access to the "output" folder
ui.launch(server_name="0.0.0.0", server_port=7860, allowed_paths=[output_dir])