Kvikontent commited on
Commit
cd42433
·
1 Parent(s): 173bce5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -1
app.py CHANGED
@@ -1,3 +1,16 @@
1
  import gradio as gr
2
 
3
- gr.load("models/succinctly/text2image-prompt-generator").launch()
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  import gradio as gr
2
 
3
+ interface_options = {
4
+ "layout": "vertical", # Set the layout to vertical to stack components vertically
5
+ "width": "700px", # Set the width of the interface
6
+ "show_input": True, # Show input section
7
+ "show_output": True, # Show output section
8
+ "style": {
9
+ "fontFamily": "Arial, sans-serif", # Set the font family
10
+ "backgroundColor": "#f4f4f4", # Set the background color
11
+ "padding": "20px", # Add padding to the interface
12
+ "border": "1px solid #ccc", # Add a border
13
+ }
14
+ }
15
+
16
+ gr.Interface.load("models/succinctly/text2image-prompt-generator").launch(interface_options=interface_options)