Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -383,7 +383,6 @@ with gr.Blocks(theme=gr.themes.Citrus(), css=css) as demo:
|
|
| 383 |
|
| 384 |
with gr.Accordion("💡 Light Type", open=True):
|
| 385 |
light_type = gr.Radio(
|
| 386 |
-
label="Select Light Source",
|
| 387 |
choices=[
|
| 388 |
("None", "none"),
|
| 389 |
("Soft Window Light", "soft_window"),
|
|
@@ -417,7 +416,6 @@ with gr.Blocks(theme=gr.themes.Citrus(), css=css) as demo:
|
|
| 417 |
|
| 418 |
with gr.Accordion("🧭 Light Direction", open=True):
|
| 419 |
light_direction = gr.Radio(
|
| 420 |
-
label="Select Direction",
|
| 421 |
choices=[
|
| 422 |
("None", "none"),
|
| 423 |
("Front", "front"),
|
|
@@ -435,7 +433,6 @@ with gr.Blocks(theme=gr.themes.Citrus(), css=css) as demo:
|
|
| 435 |
|
| 436 |
with gr.Accordion("⚡ Light Intensity", open=True):
|
| 437 |
light_intensity = gr.Radio(
|
| 438 |
-
label="Select Intensity",
|
| 439 |
choices=[
|
| 440 |
("None", "none"),
|
| 441 |
("Soft", "soft"),
|
|
@@ -448,7 +445,6 @@ with gr.Blocks(theme=gr.themes.Citrus(), css=css) as demo:
|
|
| 448 |
|
| 449 |
with gr.Accordion("🌍 Illumination Environment", open=False):
|
| 450 |
illumination_env = gr.Radio(
|
| 451 |
-
label="Select Environment",
|
| 452 |
choices=[
|
| 453 |
("None", "none"),
|
| 454 |
("Sunshine from Window", "sunshine_window"),
|
|
@@ -519,7 +515,6 @@ with gr.Blocks(theme=gr.themes.Citrus(), css=css) as demo:
|
|
| 519 |
|
| 520 |
with gr.Accordion("✍️ Custom Prompt", open=False):
|
| 521 |
prompt = gr.Textbox(
|
| 522 |
-
label="Relighting Prompt",
|
| 523 |
placeholder="Example: Add warm sunset lighting from the right",
|
| 524 |
lines=3
|
| 525 |
)
|
|
|
|
| 383 |
|
| 384 |
with gr.Accordion("💡 Light Type", open=True):
|
| 385 |
light_type = gr.Radio(
|
|
|
|
| 386 |
choices=[
|
| 387 |
("None", "none"),
|
| 388 |
("Soft Window Light", "soft_window"),
|
|
|
|
| 416 |
|
| 417 |
with gr.Accordion("🧭 Light Direction", open=True):
|
| 418 |
light_direction = gr.Radio(
|
|
|
|
| 419 |
choices=[
|
| 420 |
("None", "none"),
|
| 421 |
("Front", "front"),
|
|
|
|
| 433 |
|
| 434 |
with gr.Accordion("⚡ Light Intensity", open=True):
|
| 435 |
light_intensity = gr.Radio(
|
|
|
|
| 436 |
choices=[
|
| 437 |
("None", "none"),
|
| 438 |
("Soft", "soft"),
|
|
|
|
| 445 |
|
| 446 |
with gr.Accordion("🌍 Illumination Environment", open=False):
|
| 447 |
illumination_env = gr.Radio(
|
|
|
|
| 448 |
choices=[
|
| 449 |
("None", "none"),
|
| 450 |
("Sunshine from Window", "sunshine_window"),
|
|
|
|
| 515 |
|
| 516 |
with gr.Accordion("✍️ Custom Prompt", open=False):
|
| 517 |
prompt = gr.Textbox(
|
|
|
|
| 518 |
placeholder="Example: Add warm sunset lighting from the right",
|
| 519 |
lines=3
|
| 520 |
)
|