Start Server¶
Starts the Gradio-powered user interface.
- start_server(make_public_url=True, allow_filesystem_access=True, prevent_thread_lock=False, launch_browser_on_startup=False)[source]¶
Starts the Gradio server with multiple tabs for text analysis, image analysis, batch processing, AI governance insights, and an AI safety risks dashboard.
- Parameters:
make_public_url (
Optional
[bool
]) – Whether to make the server publicly accessible.allow_filesystem_access (
Optional
[bool
]) – Whether to allow filesystem access for file uploads, required to save resultsprevent_thread_lock (
Optional
[bool
]) – Whether to prevent thread lock issues.launch_browser_on_startup (
Optional
[bool
]) – Whether to launch the browser on server startup.
- Return type:
None
Example
>>> start_server()