Kvikontent's picture
Update app.py
cd42433
raw
history blame
699 Bytes
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)