abreza commited on
Commit
baad75d
1 Parent(s): 2f36e31

chore: Update Gradio UI layout for image generation and processing

Browse files
Files changed (1) hide show
  1. app.py +30 -4
app.py CHANGED
@@ -201,10 +201,36 @@ with gr.Blocks() as demo:
201
  with gr.Tab("Generate Image and Remove Background"):
202
  with gr.Row():
203
  subject = gr.Textbox(label='Subject', scale=2)
204
- style = gr.Textbox(label='Style', scale=2)
205
- color_scheme = gr.Textbox(label='Color Scheme', scale=2)
206
- angle = gr.Textbox(label='Angle', scale=2)
207
- lighting_type = gr.Textbox(label='Lighting Type', scale=2)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
208
  additional_details = gr.Textbox(
209
  label='Additional Details', scale=2)
210
  submit_prompt = gr.Button(
 
201
  with gr.Tab("Generate Image and Remove Background"):
202
  with gr.Row():
203
  subject = gr.Textbox(label='Subject', scale=2)
204
+ style = gr.Dropdown(
205
+ label='Style',
206
+ choices=['Pixar-like', 'Disney-esque', 'Anime-inspired'],
207
+ value='Pixar-like',
208
+ multiselect=False,
209
+ scale=2
210
+ )
211
+ color_scheme = gr.Dropdown(
212
+ label='Color Scheme',
213
+ choices=['Vibrant', 'Pastel',
214
+ 'Monochromatic', 'Black and White'],
215
+ value='Vibrant',
216
+ multiselect=False,
217
+ scale=2
218
+ )
219
+ angle = gr.Dropdown(
220
+ label='Angle',
221
+ choices=['Front', 'Side', 'Three-quarter'],
222
+ value='Front',
223
+ multiselect=False,
224
+ scale=2
225
+ )
226
+ lighting_type = gr.Dropdown(
227
+ label='Lighting Type',
228
+ choices=['Bright and Even',
229
+ 'Dramatic Shadows', 'Soft and Warm'],
230
+ value='Bright and Even',
231
+ multiselect=False,
232
+ scale=2
233
+ )
234
  additional_details = gr.Textbox(
235
  label='Additional Details', scale=2)
236
  submit_prompt = gr.Button(