synthdatagen / app.py
Lizk75's picture
[fix] Use temp directory for output to avoid write permission error
e79eb5e
raw
history blame
271 Bytes
from src.ui import build_ui
if __name__ == "__main__":
# Build the user interface
ui = 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=[self.output_dir])