| sd_app | R Documentation |
Opens an interactive Shiny application for text-to-image generation. Requires the shiny and base64enc packages.
sd_app(model_dir = NULL, launch.browser = TRUE, port = NULL, ...)
model_dir |
Path to folder with model files. If provided, the app scans the folder on startup and auto-assigns model roles. |
launch.browser |
Open in browser (default TRUE) |
port |
Port number (default NULL = random) |
... |
Additional arguments passed to |
This function does not return; it runs the Shiny app until stopped.
## Not run:
sd_app()
sd_app(model_dir = "/path/to/models")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.