Spaces:
Runtime error
Runtime error
| import gradio as gr | |
| interface_options = { | |
| "layout": "vertical", # Set the layout to vertical to stack components vertically | |
| "width": "700px", # Set the width of the interface | |
| "show_input": True, # Show input section | |
| "show_output": True, # Show output section | |
| "style": { | |
| "fontFamily": "Arial, sans-serif", # Set the font family | |
| "backgroundColor": "#f4f4f4", # Set the background color | |
| "padding": "20px", # Add padding to the interface | |
| "border": "1px solid #ccc", # Add a border | |
| } | |
| } | |
| gr.Interface.load("models/succinctly/text2image-prompt-generator").launch(interface_options=interface_options) | |