Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -544,7 +544,7 @@ def create_demo(model_name: str, device: str = "cuda" if torch.cuda.is_available
|
|
| 544 |
gr.Markdown(description)
|
| 545 |
with gr.Row():
|
| 546 |
with gr.Column():
|
| 547 |
-
reset_btn = gr.Button("Reset")
|
| 548 |
source_prompt = gr.Textbox(label="Source Prompt", value="(Optional) Describe the content of the uploaded image.")
|
| 549 |
target_prompt = gr.Textbox(label="Target Prompt", value="(Required) Describe the desired content of the edited image.")
|
| 550 |
with gr.Row():
|
|
@@ -560,7 +560,7 @@ def create_demo(model_name: str, device: str = "cuda" if torch.cuda.is_available
|
|
| 560 |
denoise_strategy = gr.Dropdown(
|
| 561 |
['multi_turn_consistent', 'fireflow', 'rf', 'rf_solver', 'midpoint', 'rf_inversion'],
|
| 562 |
label="Denoising Technique", value='multi_turn_consistent')
|
| 563 |
-
generate_btn = gr.Button("Generate")
|
| 564 |
|
| 565 |
with gr.Column():
|
| 566 |
with gr.Accordion("Advanced Options", open=True):
|
|
|
|
| 544 |
gr.Markdown(description)
|
| 545 |
with gr.Row():
|
| 546 |
with gr.Column():
|
| 547 |
+
reset_btn = gr.Button("Reset", variant="primary")
|
| 548 |
source_prompt = gr.Textbox(label="Source Prompt", value="(Optional) Describe the content of the uploaded image.")
|
| 549 |
target_prompt = gr.Textbox(label="Target Prompt", value="(Required) Describe the desired content of the edited image.")
|
| 550 |
with gr.Row():
|
|
|
|
| 560 |
denoise_strategy = gr.Dropdown(
|
| 561 |
['multi_turn_consistent', 'fireflow', 'rf', 'rf_solver', 'midpoint', 'rf_inversion'],
|
| 562 |
label="Denoising Technique", value='multi_turn_consistent')
|
| 563 |
+
generate_btn = gr.Button("Generate", variant="primary")
|
| 564 |
|
| 565 |
with gr.Column():
|
| 566 |
with gr.Accordion("Advanced Options", open=True):
|