prithivMLmods commited on
Commit
96f038d
·
verified ·
1 Parent(s): 93429f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -7
app.py CHANGED
@@ -16,7 +16,7 @@ DESCRIPTIONx = """
16
  """
17
 
18
  css = '''
19
- .gradio-container{max-width: 1000px !important}
20
  h1{text-align:center}
21
  footer {
22
  visibility: hidden
@@ -126,16 +126,15 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
126
  gr.Markdown(DESCRIPTIONx)
127
 
128
  with gr.Row():
129
- with gr.Column(scale=1):
130
- prompt = gr.Text(
131
  label="Prompt",
132
  show_label=False,
133
  max_lines=1,
134
  placeholder="Enter your prompt",
135
  container=False,
136
  )
137
- run_button = gr.Button("Run🚀", scale=0)
138
- result = gr.Gallery(label="Result", columns=1, show_label=False)
139
 
140
  with gr.Row():
141
  model_choice = gr.Dropdown(
@@ -143,9 +142,9 @@ with gr.Blocks(css=css, theme="bethecloud/storj_theme") as demo:
143
  choices=list(MODEL_OPTIONS.keys()),
144
  value="RealVisXL_V4.0_Lightning"
145
  )
146
-
147
  with gr.Accordion("Advanced options", open=True):
148
- with gr.Column(scale=3):
149
  num_images = gr.Slider(
150
  label="Number of Images",
151
  minimum=1,
 
16
  """
17
 
18
  css = '''
19
+ .gradio-container{max-width: 900px !important}
20
  h1{text-align:center}
21
  footer {
22
  visibility: hidden
 
126
  gr.Markdown(DESCRIPTIONx)
127
 
128
  with gr.Row():
129
+ prompt = gr.Text(
 
130
  label="Prompt",
131
  show_label=False,
132
  max_lines=1,
133
  placeholder="Enter your prompt",
134
  container=False,
135
  )
136
+ run_button = gr.Button("Run🚀", scale=0)
137
+ result = gr.Gallery(label="Result", columns=1, show_label=False)
138
 
139
  with gr.Row():
140
  model_choice = gr.Dropdown(
 
142
  choices=list(MODEL_OPTIONS.keys()),
143
  value="RealVisXL_V4.0_Lightning"
144
  )
145
+ with gr.Column(scale=3):
146
  with gr.Accordion("Advanced options", open=True):
147
+
148
  num_images = gr.Slider(
149
  label="Number of Images",
150
  minimum=1,