Spaces:
Runtime error
Runtime error
Kevin
commited on
Commit
·
75da646
1
Parent(s):
4c0f7f0
Change prompt
Browse files
app.py
CHANGED
|
@@ -136,14 +136,14 @@ with gr.Blocks() as demo:
|
|
| 136 |
with gr.Row():
|
| 137 |
with gr.Column():
|
| 138 |
input_img_0 = gr.Image(type="numpy", label="Input image A", value="Musk.jpg", show_label=True, height=LENGTH, width=LENGTH, interactive=True)
|
| 139 |
-
prompt_0 = gr.Textbox(label="Prompt for image A", value="a photo of
|
| 140 |
with gr.Row():
|
| 141 |
train_lora_0_button = gr.Button("Train LoRA A")
|
| 142 |
train_lora_1_button = gr.Button("Train LoRA B")
|
| 143 |
# show_correspond_button = gr.Button("Show correspondence points")
|
| 144 |
with gr.Column():
|
| 145 |
input_img_1 = gr.Image(type="numpy", label="Input image B ", value="Feifei.jpg", show_label=True, height=LENGTH, width=LENGTH, interactive=True)
|
| 146 |
-
prompt_1 = gr.Textbox(label="Prompt for image B", value="a photo of
|
| 147 |
with gr.Row():
|
| 148 |
clear_button = gr.Button("Clear All")
|
| 149 |
run_button = gr.Button("Run w/o LoRA training")
|
|
|
|
| 136 |
with gr.Row():
|
| 137 |
with gr.Column():
|
| 138 |
input_img_0 = gr.Image(type="numpy", label="Input image A", value="Musk.jpg", show_label=True, height=LENGTH, width=LENGTH, interactive=True)
|
| 139 |
+
prompt_0 = gr.Textbox(label="Prompt for image A", value="a photo of a man's face", interactive=True)
|
| 140 |
with gr.Row():
|
| 141 |
train_lora_0_button = gr.Button("Train LoRA A")
|
| 142 |
train_lora_1_button = gr.Button("Train LoRA B")
|
| 143 |
# show_correspond_button = gr.Button("Show correspondence points")
|
| 144 |
with gr.Column():
|
| 145 |
input_img_1 = gr.Image(type="numpy", label="Input image B ", value="Feifei.jpg", show_label=True, height=LENGTH, width=LENGTH, interactive=True)
|
| 146 |
+
prompt_1 = gr.Textbox(label="Prompt for image B", value="a photo of a woman's face", interactive=True)
|
| 147 |
with gr.Row():
|
| 148 |
clear_button = gr.Button("Clear All")
|
| 149 |
run_button = gr.Button("Run w/o LoRA training")
|