Spaces:
Runtime error
Runtime error
chore: Update Gradio UI layout for image generation and processing
Browse files
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.
|
205 |
-
|
206 |
-
|
207 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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(
|